Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T01:04:57.000Z (almost 7 years ago)
- Last Synced: 2024-11-29T23:09:20.522Z (24 days 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: 3
- 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
}
*/
```