0.0.2 • Published 2 years ago

webpack-file-plugin v0.0.2

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

In production model ,zip your folder after build done

example: app -> app.zip

install

npm install --save-dev webpack-file-plugin

usage (as a plugin)

const webpackFilePlugin = require('webpack-file-plugin');
module.exports = {
  plugins: [
    new webpackFilePlugin()
  ]
}

options:

new webpackFilePlugin({
  targetPath:'/app' //  nput path
  outPut:'app.zip'  // output path
})
0.0.2

2 years ago

0.0.1

2 years ago