The problem

Error adding sass-loader to use file webpack.config.js

A similar problem was found in webpack-contrib/sass-loader. The sass-loader version installed was too high github.com/webpack-con…

The solution

Here I installed version 10.1.1 instead

Yarn add [email protected] dart-sass --devCopy the code

Yarn Build is successfully used. Procedure