WXL
3 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/webpack/lib/ProvidePlugin.js
@@ -24,6 +24,7 @@
class ProvidePlugin {
   /**
    * Creates an instance of ProvidePlugin.
    * @param {Record<string, string | string[]>} definitions the provided identifiers
    */
   constructor(definitions) {
@@ -31,7 +32,7 @@
   }
   /**
    * Apply the plugin
    * Applies the plugin by registering its hooks on the compiler.
    * @param {Compiler} compiler the compiler instance
    * @returns {void}
    */
@@ -53,6 +54,7 @@
               new ProvidedDependency.Template()
            );
            /**
             * Handles the hook callback for this code path.
             * @param {JavascriptParser} parser the parser
             * @param {JavascriptParserOptions} parserOptions options
             * @returns {void}