WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/webpack/lib/AutomaticPrefetchPlugin.js
@@ -13,9 +13,14 @@
const PLUGIN_NAME = "AutomaticPrefetchPlugin";
/**
 * Records modules from one compilation and adds them back as prefetch
 * dependencies in the next compilation.
 */
class AutomaticPrefetchPlugin {
   /**
    * Apply the plugin
    * Registers hooks that remember previously built normal modules and enqueue
    * them as `PrefetchDependency` requests during the next make phase.
    * @param {Compiler} compiler the compiler instance
    * @returns {void}
    */