{"id":13774748,"url":"https://github.com/operandom/rollup-plugin-vinyl","last_synced_at":"2026-05-25T22:07:49.776Z","repository":{"id":74585293,"uuid":"60697525","full_name":"operandom/rollup-plugin-vinyl","owner":"operandom","description":"A rollup.js plugin to import from Vinyl files.","archived":false,"fork":false,"pushed_at":"2016-08-08T08:28:51.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-15T06:04:07.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/operandom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-06-08T12:51:53.000Z","updated_at":"2016-08-07T15:57:28.000Z","dependencies_parsed_at":"2023-02-25T15:46:16.738Z","dependency_job_id":null,"html_url":"https://github.com/operandom/rollup-plugin-vinyl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operandom%2Frollup-plugin-vinyl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operandom%2Frollup-plugin-vinyl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operandom%2Frollup-plugin-vinyl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operandom%2Frollup-plugin-vinyl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/operandom","download_url":"https://codeload.github.com/operandom/rollup-plugin-vinyl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225022282,"owners_count":17408597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:01:29.865Z","updated_at":"2025-12-25T04:29:41.257Z","avatar_url":"https://github.com/operandom.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Other File Imports"],"readme":"rollup-plugin-vinyl\n===================\n\n[![Build Status](https://travis-ci.org/operandom/rollup-plugin-vinyl.svg)](https://travis-ci.org/operandom/rollup-plugin-vinyl) [![Dependecies status](https://david-dm.org/operandom/rollup-plugin-vinyl.svg)](https://david-dm.org/username/repo.svg)\n\nA [rollup.js](http://rollupjs.org) plugin to import from [Vinyl](https://github.com/gulpjs/vinyl) files.\n\ninstallation\n------------\n\n```Shell\nnpm i -D rollup-plugin-vinyl\n```\n\n\nUsage\n-----\n\n```javascript\nimport vinyl from 'rollup-plugin-vinyl';\nimport File from 'vinyl';\n\nexport default {\n  entry: 'src/main.js',\n  format: 'cjs',\n  plugins: [\n\n      // Single file\n      vinyl({ files: new File({ ... }) }),\n\n      // Multiple files\n      vinyl({ files: [\n          vinylFile1,\n          vinylFile2,\n          ...\n      ] }),\n\n      // Custom module resolution\n      // This will resolve `import Module from 'lib/module'`\n      // to `lib/module.ts` or `lib/module/index.ts`\n      vinyl({\n        extension: 'ts',\n        files: ...\n      })\n\n  ],\n  dest: 'bundle.js'\n}\n```\n\nTest\n----\n```Shell\ngit clone https://github.com/operandom/rollup-plugin-vinyl.git\ncd rollup-plugin-vinyl\nnpm install\nnpm test\n```\n\nLicense\n-------\n\nReleased under the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperandom%2Frollup-plugin-vinyl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperandom%2Frollup-plugin-vinyl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperandom%2Frollup-plugin-vinyl/lists"}