為啥自己按照說的敲得會報(bào)錯(cuò)
module.exports = {
entry:'./src/script/main.js',
output:{
path: './dist/js',
output:{
path:'./dist/js',
filename:'bundle.js'
}
},
}
選框中出現(xiàn)問題:
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
2019-07-18
多半是單詞拼寫錯(cuò)誤,檢查關(guān)鍵詞和文件名
2017-11-16
額,這個(gè)問題我也遇到了,誰有解決方案嗎
2017-10-25
有沒有解決啊,我也遇到 這個(gè)
2017-10-23
我也出現(xiàn)了這種情況,是webpack沒有裝好。網(wǎng)絡(luò)問題。最近被墻的太厲害了
2017-04-22
output.filename' is required, either in config file or as --output-filename"
2017-04-13
我也報(bào)錯(cuò)了? 但是并沒有像上面說的 套了兩層
2017-04-05
filename嵌套了兩層output

2017-03-31
寫了兩個(gè)output,并且第一個(gè)里面沒有filename
2017-03-08
你寫了2個(gè)output