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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

一直報(bào)無(wú)效的配置,請(qǐng)問(wèn)有沒(méi)有大神能幫我解答一下,非常急,在線等????

一直報(bào)無(wú)效的配置,請(qǐng)問(wèn)有沒(méi)有大神能幫我解答一下,非常急,在線等????

慕粉5072586 2018-02-27 11:17:26
F:\node.js\5-3\5-4>webpackInvalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.?- configuration.module has an unknown property 'loaders'. These properties are valid:? ?object { exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, noParse?, rules?, defaultRules?,?unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp?, strictExportPresence?, strictThisContextOnImports? }? ?-> Options affecting the normal modules (`NormalModuleFactory`).var webpack = require('webpack');var path = require('path');module.exports ={? ? context: __dirname + '/src',? ? entry:"./js/index.js",? ? module: {? ? ? ? loaders:[{? ? ? ? ? ? test:/\.js?$/,? ? ? ? ? ? exclude:/(node_modules)/,? ? ? ? ? ? loader: "babel-loader",? ? ? ? ? ? query: {? ? ? ? ? ? ? ? presets:['react','es2015']? ? ? ? ? ? }? ? ? ? }]? ? },? ? output: {? ? ? ? path: __dirname + "/src/",? ? ? ? filename: "bundle.js",? ? }};
查看完整描述

1 回答

?
ThomasKwok

TA貢獻(xiàn)1條經(jīng)驗(yàn) 獲得超4個(gè)贊

把module里的那個(gè)loaders改成rules

module:?{
?rules:?[
????????{
????????test:?/\.scss$/,
????????loader:?('style!css!sass')
????????}
??]
},


查看完整回答
4 反對(duì) 回復(fù) 2018-04-01
  • 1 回答
  • 0 關(guān)注
  • 7604 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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