/min-zip-webpack-plugin

将资源压缩成zip包,Webpack plugin to zip up emitted files.https://www.npmjs.com/package/min-zip-webpack-plugin

Primary LanguageJavaScriptMIT LicenseMIT

min-zip-webpack-plugin

Webpack plugin to zip up emitted files.

How to use?

Installation

npm i min-zip-webpack-plugin -D

Usage

webpack.config.js

const MinZipWebpackPlugin = require('min-zip-webpack-plugin')

module.exports = {
    plugins: [
        new MinZipWebpackPlugin({
            filename: 'xxx' // filename is necessary
        })
    ]
}

LICENSE

LICENSE