-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mini-css-extract-plugin] ignoreOrder #7
Comments
As an additional source of the problem I will link this medium article where an alternate solution is given, but the alternate solution actually remove all the |
@yuri-scarbaci-lenio Thanks, I think it makes sense.
Yeah, why not. I am open if you provide a PR for this |
@webdeb I took the freedom to
|
…iniCssExtractOptions address Issue #7
First of all thanks a lot for the plugin!
I'm facing an issue where the build process goes a little bombastick about not being able to get a definitive order of the imported scss, I suspect due to the nature of how next.js handles the building process...
I do understand that getting a working configuration that doesn't throw the warning left and right will be almost impossible since it's deeply tied to next.js and it's not even worth given how subject to change it is, but what would be really nice is the ability to configure the mini-css-extract-plugin to pass the ignoreOrder flag...
I'm especially referring to this issue with mini-css-extract
Maybe add
miniCssExtractOptions
on this lineand spread the options on this line
so we can configure the mini-css-extract plugin ourself in a similar fashion as we do with the other plugins?
also by nature I think that if css/sass modules are enabled and we are getting pretty much scoped css anyway, we would want to default the option of ignoring the order to true by default?
P.S.
this is an example of the error I'm getting:
this is not only annoying, this would prevent configuring CI & CD pipelines that fails on warning...
The text was updated successfully, but these errors were encountered: