-
-
Notifications
You must be signed in to change notification settings - Fork 608
css-loader doesn't work anymore with v0.15.1 #84
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've noticed in file /node_modules/css-loader/lib/processCss.js, wether I use sourcemap or not, the variable var result = pipeline.process(inputSource, {
from: options.from,
to: options.to,
map: {
prev: inputMap,
sourcesContent: true,
inline: false,
annotation: false
}
}); so the final way I do for now is modify file /node_modules/css-loader/lib/loader.js, at line 17, detect if map is not null before stringify it if(map && typeof map !== "string") {
map = JSON.stringify(map);
} with this hack, it works without map.... |
Confirmed. |
Same issue here. |
The solution above works for me as well. |
same issue. Here is my stack (slightly different)
|
Thanks! Your fix works for me |
Confirmed. I simply downgraded to 0.14x instead of modifying library code. |
Same here, fix works. |
I have the same problem.. |
same here. I get it from
|
0.14x works for me. Been debugging this all day.. : - ( |
Same here. Reverted to 0.14.5. |
+1 0.15 breaks for me, downgraded to 0.14 |
also adding sourceMap parameter seems to work |
+1 same issue |
+1, downgrading the dependency to "~1.4.0" fixed the issue for me. |
* Note, css-loader only updated to 0.14.5 per this discussion: * webpack-contrib/css-loader#84
new version (v0.15.2) still has this problem..... |
+1, same here |
yes same issue |
+1 same issue |
+1 same here |
This issue should now be fixed in v0.15.3. |
after updated to v0.15.1 from v0.14.x, css loader doesn't work any more.

here is the config:
later on
The text was updated successfully, but these errors were encountered: