UNPKG

downzip

Version:

Library to enable client-side code to stream potentially large files into a zipped download

22 lines (21 loc) 489 B
const path = require('path'); module.exports = { entry: './src/downzip.js', output: { filename: 'main.js', path: path.resolve(__dirname, 'dist'), library: 'DownZip', libraryTarget: 'umd' }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, use: { loader: "babel-loader" } } ] } };