报这个错误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},
添加回答
举报
0/150
提交
取消