apply(compiler) {
        compiler.hooks.done.tapPromise('BuildCallbackPlugin', async stats => {
            return await this.callback(stats);
        });
    }
Apply the plugin.

@param {import("webpack").Compiler} compiler