第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么加了exclude之后就報(bào)了很多錯(cuò)誤呢?

為什么加了exclude之后就報(bào)了很多錯(cuò)誤呢? 這樣寫(xiě): exclude:__dirname+'/node_modules/', 這樣寫(xiě): ?exclude:'./node_modules/', 這樣寫(xiě): ?exclude:__dirname+/node_modules/, 這樣寫(xiě): ?exclude:/node_modules/, 都不行 錯(cuò)誤如下:

Invalid configuration object. Webpack has been initialised using a configur

?object that does not match the API schema.

?- configuration.module.rules[0].use should be one of these:

? ?non-empty string | function | object { loader?, options?, query? } | fun

?| [non-empty string | function | object { loader?, options?, query? }]

? ?Details:

? ? * configuration.module.rules[0].use should be a string.

? ? * configuration.module.rules[0].use should be an instance of function.

? ? * configuration.module.rules[0].use has an unknown property 'exclude'.

?properties are valid:

? ? ? object { loader?, options?, query? }

? ? * configuration.module.rules[0].use has an unknown property 'include'.

?properties are valid:

? ? ? object { loader?, options?, query? }

? ? * configuration.module.rules[0].use should be one of these:

? ? ? non-empty string | function | object { loader?, options?, query? }

? ? * configuration.module.rules[0].use should be an instance of function.

? ? * configuration.module.rules[0].use should be an array:

? ? ? [non-empty string | function | object { loader?, options?, query? }]


正在回答

5 回答

把exclude配置再option目錄下面,可不配置絕對(duì)路徑

0 回復(fù) 有任何疑惑可以回復(fù)我~

使用絕對(duì)路徑

0 回復(fù) 有任何疑惑可以回復(fù)我~

exclude: __dirname +'./node_modules/'

2 回復(fù) 有任何疑惑可以回復(fù)我~

錯(cuò)哪里了

0 回復(fù) 有任何疑惑可以回復(fù)我~

好吧,知道錯(cuò)哪里了

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么加了exclude之后就報(bào)了很多錯(cuò)誤呢?

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)