webpack-delay-plugin

1.0.1 • Public • Published

Webpack Delay Plugin Build Status Code Climate

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
        })
    ]
}

/webpack-delay-plugin/

    Package Sidebar

    Install

    npm i webpack-delay-plugin

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • mattdimu