DUuSs
2018-07-26 15:38
在webpack.config.js按老师的内容写完后,我运行gulp并不能成功,提示是我
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.module has an unknown property 'loader'. These properties are valid:
object { exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, noParse?, rules?, defaultRules?, unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp?, strictExportPresence?, strictThisContextOnImports? }
最新的代码在 Gitee 上(https://gitee.com/jamesfancy/sudoku ),已经修改为 gulp4 和 webpack4 了
主要是webpack版本的问题,要把loader换成rules
同问。求解决
配置webpack.config.js后不是该运行webpack么。
从JS到TS开发数独游戏(JS版)
18162 学习 · 55 问题
相似问题