1.0.5 • Published 5 years ago

compress-output-webpack-plugin v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

compress-output-webpack-plugin

npm install --save-dev compress-output-webpack-plugin
const CompressOutputWebpackPlugin = require("compress-output-webpack-plugin");

module.exports = {
  entry: 'index.js',
  output: {
    path: __dirname + '/dist',
    filename: 'index_bundle.js'
  },
  plugins: [
    new CompressOutputWebpackPlugin()
  ]
}
NameTypeDefault ValueDescription
flagsString'cz'Flags passed to tar
archivePath:String''Path to archive output, relative to webpack context
archiveName:String'archive.tar.gz'Name of archive output