1.0.6 • Published 4 years ago

webpack-after-done v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

webpack-after-done

my first webpack plugin:webpack-after-done,you will call functions when webpack compile done

basic use

const AfterDone = require('webpack-after-done')
const doneCallbacks = [function one(){},function two(){}]
plugins.push(new AfterDone(doneCallbacks))

optional use

current support auto zip after you compile done,just send zipify and zipFileName

const options = {
  funcList:doneCallbacks,
  zipify:true,
  zipFileName:'dist.zip'
}
plugins.push(new AfterDone(options))
1.0.6

4 years ago

1.0.2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago