WXL
4 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js
@@ -20,6 +20,7 @@
class AMDRequireArrayDependency extends NullDependency {
   /**
    * Creates an instance of AMDRequireArrayDependency.
    * @param {(string | LocalModuleDependency | AMDRequireItemDependency)[]} depsArray deps array
    * @param {Range} range range
    */
@@ -39,6 +40,7 @@
   }
   /**
    * Serializes this instance into the provided serializer context.
    * @param {ObjectSerializerContext} context context
    */
   serialize(context) {
@@ -51,6 +53,7 @@
   }
   /**
    * Restores this instance from the provided deserializer context.
    * @param {ObjectDeserializerContext} context context
    */
   deserialize(context) {
@@ -72,6 +75,7 @@
   DependencyTemplate
) {
   /**
    * Applies the plugin by registering its hooks on the compiler.
    * @param {Dependency} dependency the dependency for which the template should be applied
    * @param {ReplaceSource} source the current replace source which can be modified
    * @param {DependencyTemplateContext} templateContext the context object
@@ -84,6 +88,7 @@
   }
   /**
    * Returns content.
    * @param {AMDRequireArrayDependency} dep the dependency for which the template should be applied
    * @param {DependencyTemplateContext} templateContext the context object
    * @returns {string} content
@@ -96,6 +101,7 @@
   }
   /**
    * Content for dependency.
    * @param {string | LocalModuleDependency | AMDRequireItemDependency} dep the dependency for which the template should be applied
    * @param {DependencyTemplateContext} templateContext the context object
    * @returns {string} content