1.2.3 • Published 2 years ago

webpack-zip v1.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

webpack-zip

it is a simple webpcak plugin for zip bundle folder to designation path

(用于将webpack输出文件夹打包为zip压缩包,并输送到指定目录下的插件,也可以单纯作为文件夹传输插件)

Instructions

npm i webpack-zip

var zip = require('webpack-zip');
...
plugins: [
  new zip()
]
Options
  • name the output file name .default:dist
  • destPath the designation path .default:Root directory
  • noZip if this is true will not zip file only transfer to the specified path .default:false
  • handleErrorthe function for handling errors
  • handSuccessthe function for handling success
 new zip(
   {
       destPath:'//path',
       name:'dist',
       handleError:(e)=>{},
       handSuccess:()=>{}
   }
 )
1.1.1

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.2.3

2 years ago

1.1.4

2 years ago

1.2.2

2 years ago

1.1.3

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago