webpack-delay-plugin
v1.0.1
Published
A webpack plugin to delay the compilation.
Downloads
9
Readme
Webpack Delay Plugin
Options and Usage
All Options are optional, the default values are as followed:
const DelayPlugin = require('webpack-delay-plugin')
/* webpack config object */
module.exports = {
...
plugins: [
new DelayPlugin({
delay: 3000, // delay in ms
lifecycleEvents: ['run', 'watch-run'], // array of strings, which must match webpack lifecycle events
verbose: false // enable debug logging
})
]
}