From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +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