unplugin-dist-zip
v0.0.1
Published
Automatically create a ZIP file after build
Downloads
74
Maintainers
Readme
unplugin-dist-zip
Install
npm i -D unplugin-dist-zip
// vite.config.ts
import DistZip from 'unplugin-dist-zip/vite'
export default defineConfig({
plugins: [
DistZip(
// Default Configs
{
input: 'dist',
output: 'pkg',
filename: 'dist',
}
),
],
})
Example: playground/