2.0.10 • Published 2 years ago

@webvuer/webpack-plugin v2.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@webvuer/webpack-plugin

用于 webpack 中的前端 js 覆盖率和模块分析插件。

const { WebpackPlugin, } = require('./index.js');

let plugin = new WebpackPlugin({

    src: './src',

    output: './output/htdocs',
    url: 'http://192.168.8.100:3001/api/',
    id: '__webvuer__',

    coverage: {
        patterns: [
            '**/*.js',
            '**/*.vue',
        ],
    },

    module: {
        patterns: [
            '**/*',
            '!apiDoc/',
        ],

        excludes: [],

        matches: [
            `.js`,
            `.json`,
            `.vue`,

            `.less`,
            `.css`,
            `.sass`,

            `/index.js`,
            `/index.json`,
            `/index.vue`,

            `/index.less`,
            `/index.css`,
            `/index.sass`,
        ],
    },

    



});

plugin.parse();
2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago