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

CSS sourcemaps have strange repeated paths depending on loaders #194

Closed

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?

Activity

  1. joshwiens commented on Jan 20, 2017

    @joshwiens
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions