Skip to content

CSS sourcemaps have strange repeated paths depending on loaders #194

@danauclair

Description

@danauclair

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions