1.0.5 • Published 7 years ago
compress-output-webpack-plugin v1.0.5
compress-output-webpack-plugin
npm install --save-dev compress-output-webpack-pluginconst CompressOutputWebpackPlugin = require("compress-output-webpack-plugin");
module.exports = {
entry: 'index.js',
output: {
path: __dirname + '/dist',
filename: 'index_bundle.js'
},
plugins: [
new CompressOutputWebpackPlugin()
]
}| Name | Type | Default Value | Description |
|---|---|---|---|
| flags | String | 'cz' | Flags passed to tar |
| archivePath: | String | '' | Path to archive output, relative to webpack context |
| archiveName: | String | 'archive.tar.gz' | Name of archive output |