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/util/magicComment.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/node_modules/webpack/lib/util/magicComment.js b/node_modules/webpack/lib/util/magicComment.js
index 173dfe5..79ac079 100644
--- a/node_modules/webpack/lib/util/magicComment.js
+++ b/node_modules/webpack/lib/util/magicComment.js
@@ -16,10 +16,11 @@
 		codeGeneration: { strings: false, wasm: false }
 	});
 module.exports.webpackCommentRegExp = new RegExp(
-	/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/
+	/(^|\W)webpack[A-Z][A-Za-z]+:/
 );
 
 // regexp to match at least one "magic comment"
 /**
+ * Returns magic comment context.
  * @returns {import("vm").Context} magic comment context
  */

--
Gitblit v1.9.3