apply(compiler)
    {
        const onRunhandler = (a, b) => this.onRun(a, b);

        compiler.plugin('run', onRunhandler);
        compiler.plugin('watch-run', onRunhandler);

        compiler.plugin('compilation', (c, p) => this.onCompilation(c, p));
        compiler.plugin('make', (c, f) => this.onMake(c, f));
    }
/**
     * Called by webpack to apply the plugin.
     *
     * @param {object} compiler - The webpack compiler object.
     */
Called by webpack to apply the plugin.
@param {object} compiler - The webpack compiler object.
Called by webpack to apply the plugin . @param { object } compiler - The webpack compiler object .
apply(compiler)
    {
        const onRunhandler = (a, b) => this.onRun(a, b);
        compiler.plugin('run', onRunhandler);
        compiler.plugin('watch-run', onRunhandler);
        compiler.plugin('compilation', (c, p) => this.onCompilation(c, p));
        compiler.plugin('make', (c, f) => this.onMake(c, f));
    }
apply ( compiler ) { const onRunhandler = ( a , b ) => this . onRun ( a , b ) ; compiler . plugin ( 'run' , onRunhandler ) ; compiler . plugin ( 'watch-run' , onRunhandler ) ; compiler . plugin ( 'compilation' , ( c , p ) => this . onCompilation ( c , p ) ) ; compiler . plugin ( 'make' , ( c , f ) => this . onMake ( c , f ) ) ; }
Called by webpack to apply the plugin.
Called by webpack to apply the plugin .