rollup-plugin-compress
v1.1.2
Published
~~~ yarn add rollup-plugin-compress --dev or npm install rollup-plugin-compress --save-dev
Downloads
11
Readme
webpack-compress-plugin
use
yarn add rollup-plugin-compress --dev
or
npm install rollup-plugin-compress --save-dev
import CompressPlugin from 'rollup-plugin-compress'
CompressPlugin.webpackCompressingPlugin({
sourceName: 'dist',
outputDir: 'output',
targetName: 'test' + Date.now() + '.zip',
})
}
or
plugins.push(CompressPlugin.viteCompressingPlugin({
sourceName: 'dist',
outputDir: 'output',
targetName: 'test' + Date.now() + '.zip',
}))