Skip to content
This repository was archived by the owner on Aug 28, 2026. It is now read-only.

Fix confusing paths in source maps - #154

Closed
jhnns wants to merge 1 commit into
masterfrom
fix/confusing-source-maps
Closed

jhnns wants to merge 1 commit into
masterfrom
fix/confusing-source-maps

Conversation

@jhnns

@jhnns jhnns commented Sep 30, 2015

Copy link
Copy Markdown
Contributor

Since CSS source maps are presented differently in the browser, we don't need the loader stuff in CSS source map sources. What do you think?

Before fix, paths (with the sass-loader) looked like:
Before

After fix, paths look like:
After

Also fixes webpack/sass-loader#150

We don't need the loader stuff in CSS source map sources
@jhnns

jhnns commented Sep 30, 2015

Copy link
Copy Markdown
Contributor Author

@sokra

@sokra sokra closed this in 09bd206 Oct 18, 2015
@sokra
sokra deleted the fix/confusing-source-maps branch October 18, 2015 20:48
@jhnns

jhnns commented Oct 19, 2015

Copy link
Copy Markdown
Contributor Author

Still need to test it, but thx anyway 👍

@danauclair

Copy link
Copy Markdown

I'm still seeing a similar issue when using both the autoprefixer-loader and sass-loader, with a webpack config setup like this project: https://github.com/erikras/react-redux-universal-hot-example

The confusing paths are noted in this issue:
erikras/react-redux-universal-hot-example#572

Removing autoprefixer-loader from the chain results in normal looking sourcemap paths. Any ideas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instructions regarding source maps are incorrect

2 participants