Mini-css-extract-plugin: ignoreOrder option

Created on 14 Mar 2019  路  4Comments  路  Source: webpack-contrib/mini-css-extract-plugin

Hello!

I'm using the newest package version 0.5.0 which I use to replace deprecated extract-text-webpack-plugin with webpack 4.

With the old plugin, we had ignoreOrder: true inside our config (needed for CSS) to have our styles loaded in the correct way. After we upgraded to webpack4 and mini-css-extract-plugin I can't find the related option and our CSS modules are not loaded in the correct way. Is there a similar option that might fix our problem ?

4 (nice to have) minor 4 (inconvenient) feature

Most helpful comment

As has been pointed out in https://github.com/webpack-contrib/mini-css-extract-plugin/issues/250:

All 4 comments

No similar option, you need fix order, please provide minimum reproducible test repo

As has been pointed out in https://github.com/webpack-contrib/mini-css-extract-plugin/issues/250:

Feel free to send a PR ignoreOrder: true to avoid problem and warnings

Also we need update docs about usage warningFilters for avoid error in output

Was this page helpful?
0 / 5 - 0 ratings