A helper library for creating and extending Webpack configuration structures (v0.3.1, last release 2015). It provides methods to merge configs, add/remove loaders and plugins with key-based differentiation, and use resolvers for final transformations. Key differentiators include support for function-based merging, pre/post loader management, and plugin removal. However, it is outdated and incompatible with Webpack 2+ due to breaking API changes. No known recent development.
npm install webpack-configuratorVerified import paths — ran on the pinned version, not inferred.
Demonstrates creating a configurator, merging config, adding loaders and plugins, removing loaders, and resolving the final Webpack configuration.
Use webpack-merge or manual config composition for modern Webpack.
Use { plugin: PluginConstructor } instead of new PluginConstructor().Always return the config object from merge functions.
Run: npm install webpack-configurator@0.3.1
Ensure package version >=0.0.2 and import the default export correctly.
Use 'import configure from 'webpack-configurator'' then call configure().merge()