I\'m a webpack rookie who wants to learn all about it. I came across a conflict when running my webpack telling me:
ERROR in chunk html [entry]
app.js
Confl
I had the same problem, and I found these in the documents.
If your configuration creates more than a single “chunk” (as with multiple entry points or when using plugins like CommonsChunkPlugin), you should use substitutions to ensure that each file has a unique name.
[name]is replaced by the name of the chunk.[hash]is replaced by the hash of the compilation.[chunkhash]is replaced by the hash of the chunk.
output: {
path:__dirname+'/dist/js',
//replace filename:'app.js'
filename:'[name].js'
}