WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
node_modules/webpack/lib/dependencies/RequireHeaderDependency.js
@@ -18,6 +18,7 @@
class RequireHeaderDependency extends NullDependency {
   /**
    * Creates an instance of RequireHeaderDependency.
    * @param {Range} range range
    */
   constructor(range) {
@@ -27,6 +28,7 @@
   }
   /**
    * Serializes this instance into the provided serializer context.
    * @param {ObjectSerializerContext} context context
    */
   serialize(context) {
@@ -36,6 +38,7 @@
   }
   /**
    * Restores this instance from the provided deserializer context.
    * @param {ObjectDeserializerContext} context context
    * @returns {RequireHeaderDependency} RequireHeaderDependency
    */
@@ -55,6 +58,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