-
Notifications
You must be signed in to change notification settings - Fork 8
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
Possible bug if you have more than one scss file in your project #3
Comments
Fixes #3 In order to get a Sass object that can be instantiated we first have to look up whether the web worker is located. To do this the `getSass` function was created. After it has done the work the first time getSass simply returns the same sass object. However the use of getSass expects it to return a Promise, which means it will start throwing after the 2nd scss file is imported. The fix is simply to always resolve getSass with a Promise.resolve call.
Hi @matthewp just would like to clarify is this bug related to case when you have one main For example I do import
As a result I have all these "imports" as plain text and uncompiled. I've checked the same approach with |
@Lighttree Sure, open a new issue. Just so you know, this project is still "alpha" quality and doesn't have the work put into it that less does. If you'd like to contribute that would be good. |
is this corrected? |
https://github.com/stealjs/steal-sass/blob/master/main.js#L66
The text was updated successfully, but these errors were encountered: