From 9bce51f651aad297ef9eb6df832bfdaf1de05d84 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 14:27:54 +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