copy-zip-plugin
v1.0.1
Published
```bash npm install copy-zip-plugin -D
Downloads
1
Readme
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`
})
]
}