All Questions
Tagged with webpack-merge javascript
3 questions
0
votes
0
answers
13
views
Using webpack-merge for both module loaders and plugins
We have multiple webpack configuration files, and I need to restructure them to share common configuration
Current file structure
webpack.prod.js
webpack.dev.js
New file structure
webpack.common.js
...
2
votes
0
answers
832
views
How do you use webpack-merge and react?
I have been trying to make a webpack config for a react based app, it was working before I started using webpack-merge and had the single webpack.config.js file. I have done a lot of reading and I ...
8
votes
2
answers
7k
views
Using webpack-merge to prepend loaders to a rules `use` array
I use webpack-merge to merge my webpack config files for dev and prod environments. To extract CSS in prod mode, I use the mini-css-extract-plugin. According to its documentation, I use it in place of ...