webpack-contrib / sass-loader

Compiles Sass to CSS
MIT License
3.9k stars 431 forks source link

i got this error when upgrade to sass loader v11 #922

Closed YallaDealz closed 3 years ago

YallaDealz commented 3 years ago

✖ Nuxt Fatal Error │ │ │ │ Error: Rule can only have one resource source (provided resource and test + include + exclude) in { │ │ "use": [ │ │ { │ │ "loader": "/home/yalladealz/Dashboard/node_modules/babel-loader/lib/index.js", │ │ "options": { │ │ "configFile": false, │ │ "babelrc": false, │ │ "cacheDirectory": false, │ │ "envName": "client", │ │ "presets": [ │ │ [ │ │ "/home/yalladealz/Dashboard/node_modules/@nuxt/babel-preset-app/src/index.js", │ │ { │ │ "corejs": { │ │ "version": 2 │ │ } │ │ } │ │ ] │ │ ] │ │ }, │ │ "ident": "clonedRuleSet-4[0].rules[0].use[0]" │ │ } │ │ ] │ │ }

alexander-akait commented 3 years ago

Sorry, please open an issue in nuxt repo, also v11 require webpack@5

YallaDealz commented 3 years ago

i opened there