mattlewis92 / webpack-filter-warnings-plugin

Allows you to hide certain warnings from webpack compilations
MIT License
27 stars 10 forks source link

Not support function as exclude filter in a published bundle #20

Open taehwanno opened 4 years ago

taehwanno commented 4 years ago

In README, this plugin supports function as exclude filter. but v1.2.1 npm module, I found an error with Exclude can only be string, RegExp or Array of these. As you can see from the v1.2.1 unpkg file, the published bundle have not any codes about function as exclude filter. (Current master support function as exclude filter)

So, I think webpack-filter-warnings-plugin needs to be republished with v1.2.2 and the error message needs to be improved for function as exclude filter.