copy-zip-plugin

1.0.1 • Public • Published

copy-zip-plugin

Installation

npm install copy-zip-plugin -D

Usage

const CopyZipPlugin = require('copy-zip-plugin')

const config = {
  plugins: [
    new CopyZipPlugin([
    {
      from: path.join(__dirname, '../dist/a/index.js'),
      to: path.join(__dirname, '../dist/index.js')
    }], {
      exclude: /\.zip$/i,
      path: path.join(__dirname, '../dist'),
      filename: `${name}.zip`
    })
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i copy-zip-plugin

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

6.47 kB

Total Files

3

Last publish

Collaborators

  • coffee.ai