Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

A bug with production builds when using css-modules on Webpacks' css-loader #50

Closed
mika-lindell opened this issue Apr 18, 2017 · 3 comments

Comments

@mika-lindell
Copy link
Contributor

mika-lindell commented Apr 18, 2017

webpack-contrib/extract-text-webpack-plugin#386

Can be fixed by upgrading extract-text-plugin ^2.1.0 to enable ignoreOrder-flag (https://github.com/webpack-contrib/extract-text-webpack-plugin)

Then edit config in webpack/production.babel.js for example:
const extractStylesPlugin = new ExtractTextPlugin({filename: '[name].[hash].css', ignoreOrder: true})

@mika-lindell mika-lindell changed the title A bug with production builds when enabling css-modules on Webpacks' css-loader A bug with production builds when using css-modules on Webpacks' css-loader Apr 18, 2017
@hugovk
Copy link
Contributor

hugovk commented Apr 18, 2017

@mika-lindell Would you like to create a PR? Thanks!

@mika-lindell
Copy link
Contributor Author

mika-lindell commented Apr 18, 2017

Pull request:
#51

@crisu83
Copy link
Contributor

crisu83 commented Apr 26, 2017

Closing this issue as the PR was already merged.

@crisu83 crisu83 closed this as completed Apr 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants