-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Behaviour change between 7.1 and 7.2 (and later) #773
Comments
@pedro-w do you try latest |
Failed with error
but that is not the same error, it's an API change, isn't it? |
Just move |
Made it work with version 8, by putting options under the sassOptions key
Now I get
as before. Maybe the webpack config was just wrong before and only worked on <=7.1 by luck? |
@pedro-w to be honestly i think it is not |
Alright, I've found that if I change
to
it will work, but we did have "node_modules/font-awesome/scss" in Webpacks's |
Just a bit more, I really don't understand this very well. So, for people wanting to
What do you suggest? I can work on it some more if you think it is a bug. |
Looks like a bug, I still did not investigate this deeply, but if you have ideas on how to fix it, you can send a PR 👍 |
Just a quick note to say that I haven't disappeared; I've done a bit more work on this but no conclusion yet. May not be a problem with |
@pedro-w don't worry it is in my todo list in near future |
@pedro-w i found problem, Solutions:
Unfortunately, historically Why it is happens? The I think we can try to fix it, need check what file in import doesn't exists in |
Very interesting, thanks for taking the time to look into this. At the moment they have implemented the first solution in your list. Do you know if upgrading fontawesome from v4 to v5 would also fix it? |
Found solution |
As discussed in readthedocs/sphinx_rtd_theme#808 there appears to be a change in the way files are resolved which doesn't seem to correspond to a documented change in sass-loader. It may be a bug in sass-loader or a bug in the way the project that depends on sass-loader is configured. To simplify I have made a minimal project which shows this.
https://github.com/pedro-w/sass-test
Expected Behavior
Example project should compile on all 7.x versions
Actual Behavior
In 7.1 and earlier it is OK, for 7.2 and later an error occurs
Code
https://github.com/pedro-w/sass-test/blob/d8b458430fc04fe7ef24d083027ac5356d4bc00d/webpack.prod.js#L1-L44
How Do We Reproduce?
Clone the repo above and attempt to build. Change pinned version to 7.1 and the project will now build (note: the output is not useful, it's just for testing)
The text was updated successfully, but these errors were encountered: