Error: Compiling RuleSet failed: A Rule must not have a ‘options‘ property when it has a ‘use‘ prope
问题描述Error: Compiling RuleSet failed: A Rule must not have a ‘options’ property when it has a ‘use’ property (at ruleSet[1].rules[3].options: [object Object])在webpack项目打包的时候,出现以上报错信息。根据报错消息大概可以得知,当使用use来加载loader的时候,不能添加options选项,因为use往往是使用多个loader,你无法对
原创
2021-03-20 20:44:23 ·
5637 阅读 ·
1 评论