We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue is a: Question / support request
Currently using nwb-sass for sass support. This gives us sass compilation via node-sass.
nwb-sass
node-sass
Looking to move over to pure sass (dart-sass) but unable to get nwb config file to pick this up successfully.
sass
module.exports = { webpack: { rules: { sass: { loader: require.resolve('sass-loader'), options: { implementation: require.resolve('sass'), } } } } }
Any ideas?
The text was updated successfully, but these errors were encountered:
@markboyessmith I figured it out.
I added this to my nwb webpack rules:
rules: { sass: { loader: "sass-loader", // Prefer `dart-sass` implementation: require("sass"), }, },
and installed these 2 packages in my package.json:
"sass": "^1.32.11", "sass-loader": "^10.1.1"
For reference I have the following nwb version installed:
"nwb": "^0.25.2", "nwb-sass": "^0.10.2",
and its working for me now using dart-sass.
Sorry, something went wrong.
No branches or pull requests
This issue is a: Question / support request
Currently using
nwb-sass
for sass support. This gives us sass compilation vianode-sass
.Looking to move over to pure
sass
(dart-sass) but unable to get nwb config file to pick this up successfully.Any ideas?
The text was updated successfully, but these errors were encountered: