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/ChunkRenderError.js | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/node_modules/webpack/lib/ChunkRenderError.js b/node_modules/webpack/lib/ChunkRenderError.js
index fce913f..6d42589 100644
--- a/node_modules/webpack/lib/ChunkRenderError.js
+++ b/node_modules/webpack/lib/ChunkRenderError.js
@@ -19,13 +19,20 @@
constructor(chunk, file, error) {
super();
+ /** @type {string} */
this.name = "ChunkRenderError";
- this.error = error;
- this.message = error.message;
- this.details = error.stack;
- this.file = file;
+ /** @type {Chunk} */
this.chunk = chunk;
+ /** @type {string} */
+ this.file = file;
+ /** @type {Error} */
+ this.error = error;
+ /** @type {string} */
+ this.message = error.message;
+ /** @type {string} */
+ this.details = error.stack;
}
}
+/** @type {typeof ChunkRenderError} */
module.exports = ChunkRenderError;
--
Gitblit v1.9.3