Generate dynamic webpack bundle output names from wildcarded entry files using an array of entry/output definitions. Version 1.0.19 is the latest release; the package is stable but infrequently updated. It supports both string and function-based output name transformations, and integrates with glob for wildcard matching. Unlike manual entry configuration, it avoids hardcoding bundle names, which is useful for CMS or multi-page architectures. Requires webpack 4+ and works with Node.js. No breaking changes since initial release, but it is not actively maintained.
npm install webpack-entry-plusVerified import paths — ran on the pinned version, not inferred.
Shows how to configure webpack with dynamic entry names using glob patterns and a function for output name transformation.
Use const entryPlus = require('webpack-entry-plus');Resolve paths relative to webpack's context or use absolute paths with glob.sync(..., { cwd: ... })Return a string that does not contain path separators (use replace to strip directories).
Use a function for outputName when you need separate bundles per entry file.
Use webpack's native entry configuration or another plugin if you need advanced entry features.
Add a .d.ts file: declare module 'webpack-entry-plus' { const entryPlus: (entries: EntryItem[]) => any; export default entryPlus; }npm install --save-dev glob
Install: npm install --save-dev webpack-entry-plus, then use require('webpack-entry-plus')Use const entryPlus = require('webpack-entry-plus');Ensure each item in the array has a outputName that is either a string or a function returning a string.
Install glob: npm install --save-dev glob
No dependency data recorded yet.