node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js
@@ -14,13 +14,14 @@ class RemoveEmptyChunksPlugin { /** * Apply the plugin * Applies the plugin by registering its hooks on the compiler. * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => { /** * Handles the hook callback for this code path. * @param {Iterable<Chunk>} chunks the chunks array * @returns {void} */ @@ -38,7 +39,6 @@ } }; // TODO do it once compilation.hooks.optimizeChunks.tap( { name: PLUGIN_NAME,