亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

使用與API架構不匹配的配置對象初始化Webpack。

使用與API架構不匹配的配置對象初始化Webpack。

_李 2018-07-15 16:15:59
報這個錯誤Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.?- configuration.module.rules[2].options should be one of these:? ?object | string? ?-> Shortcut for use.options? ?Details:? ? * configuration.module.rules[2].options should be an object.? ? * configuration.module.rules[2].options should be a string.代碼:entry: {app: path.join(__dirname, '../src/client-entry.js'),vendor: ['vue']},output: {filename: '[name].[chunkhash:8].js',publicPath: cdnConfig.host},
查看完整描述

1 回答

?
橋本奈奈未

TA貢獻436條經驗 獲得超108個贊

?configuration.module.rules[2]


你的rules是配置有問題

查看完整回答
反對 回復 2018-07-15
  • _李
    _李
    你好這個怎么修改呢 ? 現在還是沒有解決了這個問題
  • 橋本奈奈未
    橋本奈奈未
    Details: * configuration.module.rules[2].options should be an object. * configuration.module.rules[2].options should be a string. options必須是對象或字符串
  • 1 回答
  • 0 關注
  • 2852 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號