webpack打包less出错Compiling RuleSet failed: Unexpected

webpack打包less出错Compiling RuleSet failed: Unexpected property test in condition

这是什么原因啊,百度了一天都找不到答案.... 我用的都是最新版本的loader加载器,webpack也是最新的,是版本的问题吗?

webpack打包less出错Compiling RuleSet failed: Unexpected

这是webpack的配置
webpack打包less出错Compiling RuleSet failed: Unexpected

运行后

Error: Compiling RuleSet failed: Unexpected property test in condition (at ruleSet[1].rules[1].resource.test: resource => {

    currentResource = resource

return true

})

webpack打包less出错Compiling RuleSet failed: Unexpected

以上是 webpack打包less出错Compiling RuleSet failed: Unexpected 的全部内容, 来源链接: utcz.com/p/935907.html

回到顶部