From 728959c6b376b2f8acdc5a778883764bfb3d816c Mon Sep 17 00:00:00 2001 From: yinxue <2643126914@qq.com> Date: Tue, 18 Nov 2025 15:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9webpack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 09c3e71..cba7d6f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -28,5 +28,10 @@ module.exports = { resolve: { modules: [path.resolve('./node_modules'), path.resolve('./src')], extensions: ['.ts', '.js'] + }, + node: { + __dirname: false, + __filename: false, + global: false } }; \ No newline at end of file