Answer the question
In order to leave comments, you need to log in
How to scatter output files in different folders in webpack?
There are multiple entry points for the .js assembly in webpack. How to scatter output files into different folders during compilation?
Answer the question
In order to leave comments, you need to log in
It certainly looks dumb, but it works.
entry: {
'dist/one/bundle': './src/one.js',
'dist/two/bundle': './src/two.js'
},
output: {
path: './',
filename: '[name].js'
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question