1.0.0 • Published 4 years ago
snowpack-plugin-zip v1.0.0
snowpack-plugin-zip
Create a ZIP file of your build directory.
Setup
npm install --save-dev snowpack-plugin-zip// snowpack.config.mjs
export default {
plugins: [
['snowpack-plugin-zip', { outputPath: 'build/release.zip' }],
],
};Plugin Options
| Name | Type | Description |
|---|---|---|
outputPath | string | The path of the resulting ZIP file. Must include the actual filename, too (e.g. build/release.zip). |
1.0.0
4 years ago