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
{{ message }}
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Note about source maps support and assets referenced with url: when style loader is used with ?sourceMap option, the CSS modules will be generated as Blobs, so relative paths don't work (they would be relative to chrome:blob or chrome:devtools). In order for assets to maintain correct paths setting output.publicPath property of webpack configuration must be set, so that absolute paths are generated.
Btw, why style-loader can not replace relative urls to absolute urls by itself?
Activity
Strate commentedon Dec 3, 2015
From README:
Btw, why style-loader can not replace relative urls to absolute urls by itself?
tizmagik commentedon Feb 1, 2016
See #55 for some workarounds/solutions to this issue.
fix(webpack): Disable sourcemaps for css
michael-ciniawsky commentedon Mar 6, 2017
Will be fixed by either #96 or #124