You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug on css-loader side webpack-contrib/css-loader#622 because postcss generate relative source maps, not absolute, so we can't contexity them in the right now, anyway it is fixed in postcss@8 (I help release will be near future - next week) and we will fix it, close in favor webpack-contrib/css-loader#622
Operating System:
OSX 10.14.6 (18G95)
Node Version:
v10.16.0
NPM Version:
yarn 1.21.1
webpack Version:
4.41.5
css-loader Version:
3.4.1
Expected Behavior
Sources field of the sourcemap contains the path relative to the context. e.g.
"sources":["src/foo/index.css"]
Actual Behavior
Sources field of the sourcemap contains just the file name. e.g.
"sources":["index.css"]
Code
How Do We Reproduce?
yarn webpack
cat dist/main.css.map
Note, the sources field is
"sources":["webpack:///index.css"]
The text was updated successfully, but these errors were encountered: