-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
[2.0.3] source map urls are a off (map.sources
)
#224
Comments
This issue seems to affect multiple loaders. Posted the same issue on all affected loaders: |
I resolve the source paths for maps https://github.com/postcss/postcss-loader/blob/master/lib/index.js#L151, as according to @ sokra it should be the case, but maybe there is still something wrong. Could you please provide more info the example image is hard to ready (small) && uses |
map.sources
)
I actually disabled bootstrap loader because I saw it was making the problem even worse. |
Coud you please provide your |
I wonder why the are concatenated 😟 regradless if relative or absolute |
My project is based off this starter project: my configs:
webpack.dev.js:
|
project tree
|
@DBosley please don't put all code here, create gist or test repo. This prevents reading information about the problem. Thanks! @michael-ciniawsky seems bugs only for |
@evilebottnawi I requested all the fuss, but discussion about it kicked-off in the PostCSS Gitter Channel then, we need to test with a simpler setup (no angular-starter-seed) 😛 |
@evilebottnawi Yes I am facing the same issue on windows machine (weird path : Here are my css loaders:
It was working fine @1.3.3, but not @2.x.x |
https://github.com/postcss/postcss-loader/blob/master/lib/index.js#L149 is the relevant part that changed between if (map) {
map.file = path.resolve(map.file)
map.sources = map.sources.map((src) => path.resolve(src))
} I'm not on windows, but thought |
Using postcss-loader (only using autoprefixer plugin, no extra configurations) combined with sass-loader, css-loader, and style-loader causes the resource URL for sourcemaps to be strange:
example: http://imgur.com/a/R73hV
scss loader config
The text was updated successfully, but these errors were encountered: