-
Notifications
You must be signed in to change notification settings - Fork 27
Not working with css-loader 7.1.2 #51
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
Comments
I encountered the same problem |
Same here, using version 6 fixed it for me. Thanks! |
Starting with v7, you need to set |
if you need to use named export, you can use |
It worked after I set the css-loader option It seems that this project requires css-loader exports an object containing CSS name fields as the default export. As of now, css-loader exports CSS name fields as individual exports (not default export). To deactivate this feature you need to add something like
Or like
to the webpack module rules config. |
|
When using the newest version of the css-loader (7.1.2) I could not generate the files correctly.
The *.sass.d.ts files where "empty":
After changing the version of css-loader to 6.8.1 everything was working like excepted. The output of the newest css-loader version is looking a bit different to the output of the older version.
The text was updated successfully, but these errors were encountered: