zip-plugin

1.0.3 • Public • Published

zip-plugin Build Status

Used for webpack, this plugin packages all the bundle files into a single zip file.

how to use

install this package

npm install zip-plugin -D

and use in webpack.config

// demo webpack.config.js
const zipPlugin = require('zip-plugin');
 
module.exports = {
  entry: ...,
  output: ...,
  plugins: [
    new zipPlugin({
      filename: 'bundle' // this property used to set zip file name
    })
  ]
}

then, webpack build.

Readme

Keywords

Package Sidebar

Install

npm i zip-plugin

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

4.45 kB

Total Files

11

Last publish

Collaborators

  • ygm1205