Skip to content

CSS sourcemaps have strange repeated paths depending on loaders #194

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

Closed
danauclair opened this issue Nov 20, 2015 · 1 comment
Closed

CSS sourcemaps have strange repeated paths depending on loaders #194

danauclair opened this issue Nov 20, 2015 · 1 comment

Comments

@danauclair
Copy link

When chaining the autoprefixer-loader and sass-loader I'm seeing strange paths in my resulting sourcemap. Removing the autoprefixer-loader from my config seems to fix the problem, so I'm not sure if this is an issue with the css-loader or autoprefixer-loader.

It seems really similar to this fix: #154

Example:
webpack:///./src/containers/App/src/src/containers/App/App.scss

This makes it hard to map all of the source files at once in Chrome's dev tools (for saving back to disk).

I'm using a webpack setup like the react-redux-universal-hot-example boilerplate, where I've also noted the problem:
erikras/react-redux-universal-hot-example#572

Any ideas?

@joshwiens
Copy link
Member

I regards to the change you referenced, you would end up with the same path before and after the change.

If this is still an issue on v0.26.1 (i'm guessing not) please open a new issue and reference this one.

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

No branches or pull requests

2 participants