-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: Remove deprecated node-sass package, migrated to Sass #2392 #2429
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
feat: Remove deprecated node-sass package, migrated to Sass #2392 #2429
Conversation
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. |
🥇 Just wanted to say that this is a very good PR! You've explained what you changed and why/how. Much appreciated. |
Thanks for the praise! It's greatly appreciated! Looking forward to your review and the PR getting merged! |
@lindapaiste I have removed the sass-migrator from the package.json scripts . |
hey @lindapaiste is there any other things to change in this pr ? |
This is looking great! I just ran the branch and had no problems running in dev. There is one tiny thing to address which is the docker scripts, where we have an Line 13 in ca74574
Line 30 in ca74574
I'm not sure what's the correct thing to put here when using Dart Sass. I think nothing? Like we delete those lines with no replacement? Do you know? |
I don't think there is rebuild command for the Dart Sass as it doesn't rely on native add-ons .I have remove the node-sass rebuild command from the dockerFile . |
@raclim this looks good to me but I’m a little bit scared to merge it as it has the potential to break the built process. |
…-sass_migrate # Conflicts: # client/styles/components/_asset-list.scss # client/styles/components/_dashboard-header.scss # client/styles/components/_form-container.scss # client/styles/components/_forms.scss # client/styles/components/_modal.scss # client/styles/components/_preferences.scss # client/styles/components/_sketch-list.scss # package-lock.json
…te' into luckyklyist/node-sass_migrate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@raclim I fixed all the conflicts so I'm going to go ahead and merge this in.
@lindapaiste Thanks so much for getting this in! |
@raclim just a heads up that we may have some pending PRs using the old syntax for the rem font size. When merging those, we'll want to change |
This PR addresses issue #2392.
Changes Made: #2392
Details:
In this PR, I've removed the deprecated "node-sass" package and replaced it with the "sass" package, which is the recommended alternative. This update ensures that we are using the latest and supported Sass compiler.
To migrate the deprecated "node-sass" syntax code to the new "sass" syntax, I used the Sass Migrator, which automates the migration process.
npm run lint
)npm run test
)develop
branch.Fixes #2392