Helps to load, extend and merge webpack configs
npm install webpack-config --save-dev
yarn add webpack-config --dev
#extend()- Helps to extend config using local file or shareable config
#merge()- Helps to merge some values into config and overrides existing ones
#defaults()- Helps to add some values if they are missing
process.env.*variables in addition to
- Supports shareable configs via
You can publish your configs to
webpack-config- prefix for package name.
When you call
#extend() method you may omit that prefix:
Also I would recommend to add
webpack-config keywords so other users can easily find your module.
;environment;// Also you may use `'conf/webpack.[NODE_ENV].config.js'`;
;;const extractCss = '[name].css';;