WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/webpack/lib/dependencies/URLDependency.js
@@ -31,6 +31,7 @@
class URLDependency extends ModuleDependency {
   /**
    * Creates an instance of URLDependency.
    * @param {string} request request
    * @param {Range} range range of the arguments of new URL( |> ... <| )
    * @param {Range} outerRange range of the full |> new URL(...) <|
@@ -54,6 +55,7 @@
   }
   /**
    * Returns function to determine if the connection is active.
    * @param {ModuleGraph} moduleGraph module graph
    * @returns {null | false | GetConditionFn} function to determine if the connection is active
    */
@@ -66,6 +68,7 @@
   }
   /**
    * Creates an ignored module.
    * @param {string} context context directory
    * @returns {Module} ignored module
    */
@@ -74,6 +77,7 @@
   }
   /**
    * Serializes this instance into the provided serializer context.
    * @param {ObjectSerializerContext} context context
    */
   serialize(context) {
@@ -85,6 +89,7 @@
   }
   /**
    * Restores this instance from the provided deserializer context.
    * @param {ObjectDeserializerContext} context context
    */
   deserialize(context) {
@@ -100,6 +105,7 @@
   ModuleDependency.Template
) {
   /**
    * 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