为啥自己按照说的敲得会报错
module.exports = {
entry:'./src/script/main.js',
output:{
path: './dist/js',
output:{
path:'./dist/js',
filename:'bundle.js'
}
},
}
选框中出现问题:
C:\Program Files\nodejs\node_global\node_modules\webpack\bin\convert-argv.js:488
throw new Error("'output.filename' is required,
either in config file or as --output-filename");
^
Error: 'output.filename' is required, either in config file or as --output-filen
ame