cssnext-loader
cssnext-loader copied to clipboard
Source map paths are wrong
When I’m using source maps in the css loader (css-loader?sourceMap
), I get paths like this:
webpack:///./css/index.css
But when I add the cssnext loader (css-loader?sourceMap!cssnext-loader
) the sourcemap paths get all wrong: webpack:///index.css
Its even worse when I’m using absolute file:// paths.
I don't really use sourcemap, so not sure what might cause the issue. That being said, if you want someone to fix the bug you are reporting, you can help by providing a broken test or something more than "it does not work".
Ok, I will investigate this later on.
Also, webpacks -p
(for minification) is broken as well, it just spews some obscure errors. I will look into it as well.
See https://github.com/webpack/css-loader/issues/36 for -p issues (css-loader is using an outdated css parser)