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

chore: use dart-sass for compiling scss #3148

Merged
merged 1 commit into from
Nov 26, 2020

Conversation

cvrajeesh
Copy link
Contributor

At present, styles from external libraries are imported using relative paths from node_modules directory. This is causing errors when trying to customise styling as mentioned in https://grapesjs.com/docs/getting-started.html#theming

https://github.com/artf/grapesjs/blob/d3256e621bb43a537213ffcd86b10dc0bd070c0b/src/styles/scss/main.scss#L2-L4

@waynelife tried to fix this issue as part of #2859, but @artf wanted to explore the use of dart-sass (#2859 (comment)).

This PR replaces node-sass with dart-sass and removes the relative path from main.scss file.

@artf artf merged commit 035fd93 into GrapesJS:dev Nov 26, 2020
@artf
Copy link
Member

artf commented Nov 26, 2020

DOPE 🎉
Thank you very much @cvrajeesh ❤️

@artf artf mentioned this pull request Nov 26, 2020
@cvrajeesh cvrajeesh deleted the switch-to-dart-sass branch November 27, 2020 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants