为了账号安全,请及时绑定邮箱和手机立即绑定

webpack-dev-server报错

× 「wds」: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

 - configuration.module has an unknown property 'loaders'. These properties are valid:

   object { exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, noParse?, rules?, defaultRules?, unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp?, strictExportPresence?, strictThisContextOnImports? }

   -> Options affecting the normal modules (`NormalModuleFactory`).


正在回答

1 回答

是webpck --save -dev吧(你怕错直接打webpck -d 不就行啦)

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

webpack-dev-server报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信