-
Notifications
You must be signed in to change notification settings - Fork 74
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
Extract loader doesn't work with css-loader 5.x #99
Comments
same problem ! |
Anyone's got a fix? |
Also hit this issue today. Spent half a day trying to tweak I'm using it as part of a My Webpack internals logic is lacking so I was just kind of flailing, would be happy to try and help fix this though. Eventually my workaround was to change the |
Issue was originally raised in css loader from someone else webpack-contrib/css-loader#1215. It was closed as a problem in
extract-loader
. I have encountered the same problem today.css loader changed the way css with sourcemaps are handled and they have added this method https://github.com/webpack-contrib/css-loader/blob/master/src/runtime/cssWithMappingToString.js
When we importe css file from some node module for (me it was tippy.js via
@import 'tippy.js/dist/tippy.css';
), following errors is raisedI tried to dig a bit deeper and it looks like
css-loader
gets this array to process fromextract-loader
which causes an error in the method mentioned above.
The text was updated successfully, but these errors were encountered: