@yzfe/webpack-filter-warning-plugin
v1.0.2
Published
过滤 webpack wraning 的信息
Downloads
13
Readme
@yzfe/webpack-filter-warning-plugin
过滤 webapck wraning 信息
usagge
# 安装
yarn add @yzfe/webpack-filter-warning-plugin --dev
// vue.config.js
const FilterWarningsPlugin = require('@yzfe/webpack-filter-warning-plugin')
module.exports = {
chainWebpack: config => {
config.plugin('FilterWarningsPlugin').use(FilterWarningsPlugin, [
{
// 过滤有 mini-css-extract-plugin 的信息
exclude: /mini-css-extract-plugin/
}
])
}
}