From b7b8202e3ecb7f720eefd7a226b2ee8166fc5057 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 04 六月 2026 14:57:17 +0800
Subject: [PATCH] 青岛移动端维护
---
node_modules/webpack/lib/web/JsonpTemplatePlugin.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/web/JsonpTemplatePlugin.js b/node_modules/webpack/lib/web/JsonpTemplatePlugin.js
index 4e9567b..f782500 100644
--- a/node_modules/webpack/lib/web/JsonpTemplatePlugin.js
+++ b/node_modules/webpack/lib/web/JsonpTemplatePlugin.js
@@ -12,8 +12,10 @@
/** @typedef {import("../Compilation")} Compilation */
/** @typedef {import("../Compiler")} Compiler */
+// TODO webpack 6 remove this class
class JsonpTemplatePlugin {
/**
+ * Returns hooks.
* @deprecated use JsonpChunkLoadingRuntimeModule.getCompilationHooks instead
* @param {Compilation} compilation the compilation
* @returns {JsonpChunkLoadingRuntimeModule.JsonpCompilationPluginHooks} hooks
@@ -23,7 +25,7 @@
}
/**
- * Apply the plugin
+ * Applies the plugin by registering its hooks on the compiler.
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
--
Gitblit v1.9.3