WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/webpack/lib/dependencies/RequireEnsureDependency.js
@@ -19,6 +19,7 @@
class RequireEnsureDependency extends NullDependency {
   /**
    * Creates an instance of RequireEnsureDependency.
    * @param {Range} range range
    * @param {Range} contentRange content range
    * @param {Range | false} errorHandlerRange error handler range
@@ -36,6 +37,7 @@
   }
   /**
    * Serializes this instance into the provided serializer context.
    * @param {ObjectSerializerContext} context context
    */
   serialize(context) {
@@ -49,6 +51,7 @@
   }
   /**
    * Restores this instance from the provided deserializer context.
    * @param {ObjectDeserializerContext} context context
    */
   deserialize(context) {
@@ -71,6 +74,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