Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No include plugins defined in base to dev, dist and test #332

Open
dzwiedziu-nkg opened this issue Mar 14, 2017 · 0 comments
Open

No include plugins defined in base to dev, dist and test #332

dzwiedziu-nkg opened this issue Mar 14, 2017 · 0 comments

Comments

@dzwiedziu-nkg
Copy link

Generated webpack config no include plugins from base.js to dev.js and dist.js. Moreover no include plugins and resolve.alias to test.js.

My proposals:

  1. Add config.plugins = baseConfig.plugins.concat(config.plugins); line before module.exports = config; in cfg/dev.js and cfg/dist.js like in my commit in my project.
  2. Add module.exports.resolve.alias = Object.assign({}, baseConfig.resolve.alias, module.exports.resolve.alias); and module.exports.plugins = baseConfig.plugins.concat(module.exports.plugins); lines at the end of cfg/test.js like in my commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant