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

Description
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