{"id":13447656,"url":"https://github.com/rollup/rollup-plugin-multi-entry","last_synced_at":"2025-03-22T01:31:10.248Z","repository":{"id":48229515,"uuid":"47390193","full_name":"rollup/rollup-plugin-multi-entry","owner":"rollup","description":"This module has moved and is now available at @rollup/plugin-multi-entry / https://github.com/rollup/plugins/blob/master/packages/multi-entry","archived":true,"fork":false,"pushed_at":"2021-08-04T17:27:51.000Z","size":215,"stargazers_count":171,"open_issues_count":0,"forks_count":17,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-18T04:35:11.591Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rollup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-04T08:04:17.000Z","updated_at":"2023-09-12T03:20:44.000Z","dependencies_parsed_at":"2022-08-31T17:02:39.486Z","dependency_job_id":null,"html_url":"https://github.com/rollup/rollup-plugin-multi-entry","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Frollup-plugin-multi-entry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Frollup-plugin-multi-entry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Frollup-plugin-multi-entry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Frollup-plugin-multi-entry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollup","download_url":"https://codeload.github.com/rollup/rollup-plugin-multi-entry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244893424,"owners_count":20527587,"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-07-31T05:01:23.651Z","updated_at":"2025-03-22T01:31:09.941Z","avatar_url":"https://github.com/rollup.png","language":"JavaScript","readme":"# Moved\n\nThis module has moved and is now available at [@rollup/plugin-multi-entry](https://github.com/rollup/plugins). Please update your dependencies. This repository is no longer maintained.\n\n\n# rollup-plugin-multi-entry\n\nUse multiple entry points in your [rollup](https://github.com/rollup/rollup)\nbundle. This is particularly useful for tests, but can also be used to package\na library. The exports from all the entry points will be combined, e.g.\n\n```js\n// a.js\nexport const a = 1;\n\n// b.js\nexport const b = 2;\n\n// c.js\nexport const c = 3;\n```\n\nUsing all three files above as entry points will yield a bundle with exports for\n`a`, `b`, and `c`.\n\n\u003e _Note_: Default exports like `export default class Foo {...}` will not be exported, only named exports are allowed.\n\n## Install\n\n```shell\n# Install via npm:\n$ npm install [--save-dev] rollup-plugin-multi-entry\n# Or use yarn:\n$ yarn add [--dev] rollup-plugin-multi-entry\n```\n\n## Usage\n\nThis plugin requires at least v0.48.0 of rollup. In `rollup.config.js`:\n\n```js\nimport multiEntry from \"rollup-plugin-multi-entry\";\n\nexport default {\n  input: \"test/**/*.js\",\n  plugins: [multiEntry()]\n};\n```\n\nThe `entry` above is the simplest form which simply takes a glob string. If you\nwish, you may pass an array of glob strings or, for finer control, an object\nwith `include` and `exclude` properties each taking an array of glob strings,\ne.g.\n\n```js\n// The usual rollup entry configuration works.\nexport default {\n  input: 'just/one/file.js',\n  plugins: [multiEntry()]\n  // ...\n};\n\n// As does a glob of files.\nexport default {\n  input: 'a/glob/of/files/**/*.js',\n  plugins: [multiEntry()]\n  // ...\n};\n\n// Or an array of files and globs.\nexport default {\n  input: ['an/array.js', 'of/files.js', 'or/globs/**/*.js'],\n  plugins: [multiEntry()]\n  // ...\n};\n\n// For maximum control, arrays of globs to include and exclude.\nexport default {\n  input: {\n    include: ['files.js', 'and/globs/**/*.js', 'to/include.js'],\n    exclude: ['those/files.js', 'and/globs/*.to.be.excluded.js']\n  },\n  plugins: [multiEntry()]\n  // ...\n};\n```\n\nSometimes you may not want to export anything from the rolled-up bundle. In\nsuch cases, use the `exports: false` option like so:\n\n```js\nexport default {\n  input: \"src/*.js\",\n  plugins: [multiEntry({ exports: false })]\n};\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollup%2Frollup-plugin-multi-entry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollup%2Frollup-plugin-multi-entry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollup%2Frollup-plugin-multi-entry/lists"}