Allows Rollup to accept glob patterns in the `input` option instead of explicit file lists. Version 1.0.1 is stable with no releases for several years. Maintained minimally. Differentiates from @rollup/plugin-multi-entry by preserving individual output files rather than merging inputs into a single bundle. Requires separate Rollup installation.
npm install rollup-plugin-folder-inputVerified import paths — ran on the pinned version, not inferred.
Shows how to configure Rollup with folder-input plugin to bundle all JS files in src directory as separate outputs.
Place `folderInput()` as the first element in the plugins array.
Use absolute paths or ensure cwd matches expected root.
Use `@rollup/plugin-multi-entry` if you need merging inputs into a single bundle.
Verify file existence and adjust glob pattern or use absolute path.
Move `folderInput()` to the beginning of the plugins array.