报这个错误
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
},
橋本奈奈未