Sass-loader PrependData in angular cli 8 using custom-webpack throws error

532 views Asked by At

angular.json config

enter image description here

webpack.config.js file

enter image description here

Error Message

enter image description here

1

There are 1 answers

0
flashobj On

It seems the issue is due to sass-loader version, the webpack config is related to sass-loader 8.0.0 and angular cli using is sass-loader 7.0.2 by changing prependData to data fixed the issue