Package Exports
- jszip-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jszip-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-bundlerUsage
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
}
*/