在终端输入webpack 指令后 报错如下
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.module.loaders[0] has an unknown property 'text'. These properties are valid:
object { enforce?, exclude?, include?, issuer?, loader?, loaders?, oneOf?, options?, parser?, query?, resource?, resourceQuery?, compiler?, rules?, test?, use? }
应该是api接口不匹配吧 不知道怎么解决
轻松入门 React 开发,React Router 4 与 Webpack 2 完美升级项目
了解课程