-
Notifications
You must be signed in to change notification settings - Fork 75
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
Extracting results from scss files? #2
Comments
same issue: For my case, I require
|
@e-cloud Did you found a solution for this? |
try to prefix your Example: Before: @import 'normalize.css'; After: @import '~normalize.css'; |
You can just append mainCss var with
and it works out of the box (and HMR as well). Remember to change extention from |
@antarasi The problem is not in loading can |
@jods4 I don't know if
|
That setup works for me... as long as you don't have |
@jods4 No, I do have imports. The only problem I've seen is that For example in HMR is also working with this config. |
Yeah, I don't have problems with the resolving the imports (putting a wrong path show that it's a different error). It's something different, as indicated in this comment. |
@jods4 Isn't this caused by importing scss files from node_modules or bower_components directory? I am using absolute path to make it work, for instance: |
maybe? That would be interesting to try. |
The problem seems to be
|
@andersk's example is what i am experiencing, using |
From extractLoader.js: `/**
Imports are not supported, unfortunately |
I'm getting the same "ReferenceError: require is not defined" error when importing a css file from an scss file. Are there any workarounds for this? |
Has been fixed with |
How would I use this to extract the results from packed scss files?
The text was updated successfully, but these errors were encountered: