WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/webpack/lib/dependencies/LocalModuleDependency.js
@@ -18,6 +18,7 @@
class LocalModuleDependency extends NullDependency {
   /**
    * Creates an instance of LocalModuleDependency.
    * @param {LocalModule} localModule local module
    * @param {Range | undefined} range range
    * @param {boolean} callNew true, when the local module should be called with new
@@ -31,6 +32,7 @@
   }
   /**
    * Serializes this instance into the provided serializer context.
    * @param {ObjectSerializerContext} context context
    */
   serialize(context) {
@@ -44,6 +46,7 @@
   }
   /**
    * Restores this instance from the provided deserializer context.
    * @param {ObjectDeserializerContext} context context
    */
   deserialize(context) {
@@ -66,6 +69,7 @@
   NullDependency.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