Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
}
*/
```