Skip to content

Using extract plugin with IgnorePlugin leads to error #452

Open
@throwable-one

Description

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 with IgnorePlugin leads to exception.

The whole story is here: https://stackoverflow.com/questions/58295539/webpack-how-to-exclude-certain-css-file-from-output

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions