Skip to content
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

Fix confusing paths in source maps #154

Closed
wants to merge 1 commit into from
Closed

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-contrib/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