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.
In
README
, this plugin supports function asexclude
filter. but v1.2.1 npm module, I found an error withExclude 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 asexclude
filter. (Currentmaster
support function asexclude
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.