Nuanced Pumpkin Mavens

    @yzfe/webpack-filter-warning-plugin

    1.0.2 • Public • Published

    @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/
                }
            ])
        }
    }

    Keywords

    none

    Install

    npm i @yzfe/webpack-filter-warning-plugin

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.76 kB

    Total Files

    3

    Last publish

    Collaborators

    • allenice
    • allenmo
    • vfasky