Error: Rule can only have one resource source (provided resource and test + include + exclude) in {

2021/12/1 23:06:33

本文主要是介绍Error: Rule can only have one resource source (provided resource and test + include + exclude) in {,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

 马的 搞了我半个钟

出现这种情况是我们当前安装的webpack版本和原项目对比的版本太高了

首先 卸载

cnpm uninstall webpack -D

然后安装4.0.0这个版本

cnpm install webpack@^4.0.0 -D

 



这篇关于Error: Rule can only have one resource source (provided resource and test + include + exclude) in {的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程