From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试
---
node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js b/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js
index 9ce41aa..76376e8 100644
--- a/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js
+++ b/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js
@@ -26,7 +26,7 @@
class CommonJsChunkFormatPlugin {
/**
- * Apply the plugin
+ * Applies the plugin by registering its hooks on the compiler.
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
@@ -128,10 +128,7 @@
hooks.renderStartup.call(
startupSource,
entries[entries.length - 1][0],
- {
- ...renderContext,
- inlined: false
- }
+ renderContext
)
);
entrySource.add("\n})()");
--
Gitblit v1.9.3