quasar configured for scss, error on build
-
Hi Everyone,
I’m working for a company, and we are using quasar. I downloaded the latest version on quasar and I’m getting the following errors on the build
1st
2nd
the error comes out from a build on a docker environment (node:12.14.1)
what seems strange to me is that the complain is about the app.styl and the app.scss.Then after different attempts, I found a solution on the extendWebpack.
// https://quasar.dev/quasar-cli/handling-webpack extendWebpack (cfg) { cfg.module.rules.push({ enforce: 'pre', test: /\.(js|vue)$/, loader: 'eslint-loader', exclude: /node_modules/ }); cfg.module.rules.push({ test: /\.scss$/, loader: 'sass-loader', exclude: /node_modules/ }); },
I have only a question: if we not specify a sass-loader (9.0.2) on the package.json, the build will fail?
Thanks a lot
Antonio