Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Breaks with NamedModulesPlugin #648

@cletusw

Description

@cletusw

extract-text-webpack-plugin breaks when combined with webpack.NamedModulesPlugin. It incorrectly outputs the result of extracting the CSS from the first bundle in all assets.

main.css

body {
  background: blue;
}

other.css

body {
  border: 10px solid yellow;
}

becomes

main.built.css

body {
  background: blue;
}

other.built.css

body {
  background: blue;
}

node --version: v8.5.0
npm --version: 5.5.1
npm ls --depth=0:

├── extract-text-webpack-plugin@3.0.1
├── raw-loader@0.5.1
└── webpack@3.7.1

EDIT: Minimal repro case: https://github.com/cletusw/extract-text-webpack-plugin-issue-648

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