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

Add node sass import #2859

Closed
wants to merge 2 commits into from
Closed

Add node sass import #2859

wants to merge 2 commits into from

Conversation

WayneHarris
Copy link

Hi @8byr0 @artf

Regarding the revert of the sass imports update;

6aa1828

and the issues raised here;

#2747

Could you consider using node-sass-import as shown in this PR?

build:css script seems to work as expected and this allows the support of theming as per the documents which suggest you can import the main.scss to set variables.

https://grapesjs.com/docs/getting-started.html#theming

@8byr0
Copy link
Contributor

8byr0 commented Jun 27, 2020

Thanks @WayneHarris it sounds good! I'll give it a try w/ a react project to see if it works as expected but regarding your commits it should not cause that many troubles!

@artf
Copy link
Member

artf commented Jul 5, 2020

Well, I'm ok with that but I'd like to know if that solves @8byr0's issue.
I'm not sure but maybe switching to dart-sass might solve all this kind of issues...

@WayneHarris
Copy link
Author

@artf I'll try to find some time to look into dart-sass, as I've been meaning to for another a project anyway.

Also, node-sass can be a pain with builds due to its building of binaries on different OS.

@artf
Copy link
Member

artf commented Jul 14, 2020

Thanks @WayneHarris I really appreciate your help

@artf
Copy link
Member

artf commented Nov 26, 2020

With this PR, made by @cvrajeesh, we can finally close this one.
Thanks to everyone for the help and reports ❤️

@artf artf closed this Nov 26, 2020
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.

3 participants