Skip to content

Conversation

jhnns
Copy link
Member

@jhnns jhnns commented Sep 30, 2015

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
Copy link
Member Author

jhnns commented Sep 30, 2015

@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
Copy link
Member Author

jhnns commented Oct 19, 2015

Still need to test it, but thx anyway 👍

@danauclair
Copy link

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instructions regarding source maps are incorrect

2 participants