小编ham*_*ama的帖子

我在 webpack.config.js 中遇到这个问题

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.module.rules[0] has an unknown property 'option'. These properties are valid:    object { compiler?, enforce?, exclude?, include?, issuer?, loader?, loaders?, oneOf?, options?, parser?, query?, resolve?, resource?, resourceQuery?, rules?, sideEffects?, test?, type?, use? }    -> A rule npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! app.js@0.0.2 webpack: `webpack` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the app.js@0.0.2 …
Run Code Online (Sandbox Code Playgroud)

reactjs webpack

4
推荐指数
1
解决办法
9238
查看次数

标签 统计

reactjs ×1

webpack ×1