ERROR in chunk a [entry] [bundle].js Conflict: Multiple assets emit to the same filename [bundle].js
由于版本问题,这里要这样写 module.exports = { entry:{ main:'./src/script/main.js', a:'./src/script/a.js' }, output:{ path: __dirname + '/dist/js', filename:'[name].js' //视频中的bundle要改成这样 } }