https://github.com/le0michine/webpack-zip-bundler
Puts emitted assets into a zip file
https://github.com/le0michine/webpack-zip-bundler
jszip webpack webpack-plugin zip
Last synced: about 2 months ago
JSON representation
Puts emitted assets into a zip file
- Host: GitHub
- URL: https://github.com/le0michine/webpack-zip-bundler
- Owner: Le0Michine
- Created: 2017-02-08T23:45:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T01:04:57.000Z (over 8 years ago)
- Last Synced: 2025-03-09T22:35:27.753Z (over 1 year ago)
- Topics: jszip, webpack, webpack-plugin, zip
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/webpack-zip-bundler
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webpack-zip-bundler
A plugin for packaging assets into a zip archive. It is based on JSZip library https://stuk.github.io/jszip.
Installation
```
npm install --save-dev webpack-zip-bundler
```
Usage
```javascript
const ZipBundlerPlugin = require('webpack-zip-bundler');
...
// add to webpack plugins array
plugins: [
new ZipBundlerPlugin(options)
]
/*
options: {
out: string, output file name, 'out.zip' by default
regex: Regex, regex to filter assets by their names
}
*/
```