Skip to content
New issue

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

Replace node-sass with sass #3

Open
kkoziarski opened this issue Mar 1, 2021 · 0 comments
Open

Replace node-sass with sass #3

kkoziarski opened this issue Mar 1, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kkoziarski
Copy link
Owner

kkoziarski commented Mar 1, 2021

node-sass package is deprecated.
Try to replace it with recommended sass package:
image

Problem: how to change/update npm run scss and npm run scss:prod scripts:

"scss": "node-sass ./src/shared.scss  --importer=node_modules/node-sass-tilde-importer ../wwwroot/css/site.shared.css",
    "scss:prod": "node-sass ./src/shared.scss  --output-style compressed --importer=node_modules/node-sass-tilde-importer ../wwwroot/css/site.shared.min.css"

I couldn't find any sass CLI commands that could be used

@kkoziarski kkoziarski added enhancement New feature or request help wanted Extra attention is needed labels Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant