You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
This module has moved and is now available at @rollup/plugin-multi-entry. Please update your dependencies. This repository is no longer maintained.
rollup-plugin-multi-entry
Use multiple entry points in your rollup
bundle. This is particularly useful for tests, but can also be used to package
a library. The exports from all the entry points will be combined, e.g.
The entry above is the simplest form which simply takes a glob string. If you
wish, you may pass an array of glob strings or, for finer control, an object
with include and exclude properties each taking an array of glob strings,
e.g.
// The usual rollup entry configuration works.exportdefault{input: 'just/one/file.js',plugins: [multiEntry()]// ...};// As does a glob of files.exportdefault{input: 'a/glob/of/files/**/*.js',plugins: [multiEntry()]// ...};// Or an array of files and globs.exportdefault{input: ['an/array.js','of/files.js','or/globs/**/*.js'],plugins: [multiEntry()]// ...};// For maximum control, arrays of globs to include and exclude.exportdefault{input: {include: ['files.js','and/globs/**/*.js','to/include.js'],exclude: ['those/files.js','and/globs/*.to.be.excluded.js']},plugins: [multiEntry()]// ...};
Sometimes you may not want to export anything from the rolled-up bundle. In
such cases, use the exports: false option like so: