1.0.7 • Published 1 year ago

dir-to-zip v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

dir-To-Zip

This is a webpack build tool, build directory to zip

How to use?

Download

npm install --save-dev dir-to-zip

Use

// webpack.config.js

const dirToZip = require("dir-to-zip");

module.exports = {
    plugins: [
    new dirToZip({
        // compress directory
        dir: "./dist",
        // output directory and zip name
        zipName: "dist.zip",
    })
  ],
}
1.0.7

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago