mattlewis92 / webpack-filter-warnings-plugin

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

exclude option does not accept strings #24

Open aamasri opened 4 years ago

aamasri commented 4 years ago
plugins: [
    new FilterWarningsPlugin({
        exclude: 'experimental'
    })

throws error: "Error: Exclude an only be a regexp or an array of regexp at new FilterWarningsPlugin"