-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Using extract plugin with IgnorePlugin leads to error #452
Comments
@throwable-one sorry, can't understand, why you use |
I want one of .css files to be removed from the bundle. Here is project to reproduce. Run it. It will create The problem is that extract plugin uses |
@throwable-one use |
@evilebottnawi I am sorry, could you please give me example? |
@throwable-one sorry i don't have time on this, you can experiment with this |
css-loaded is used explicitly with all preloaders ignored |
@throwable-one you should |
Even disabling this module for
I still have It seems that the only way completely remove this is |
I will look on this in near future |
Thank you!
|
I am not completely sure if this is a bug or feature request, but it is not possible now to skip some imported module if extact css plugin is used.
It seems that this plugin uses
css-loader
explicitly, so user does not have any way to tell webpack "do not load module bar.css" and trying to do so withIgnorePlugin
leads to exception.The whole story is here: https://stackoverflow.com/questions/58295539/webpack-how-to-exclude-certain-css-file-from-output
The text was updated successfully, but these errors were encountered: