From 7bad8a3109f64f4f9ce03acb6db3e1d69c2c37f4 Mon Sep 17 00:00:00 2001 From: laibo102 Date: Wed, 6 Apr 2022 10:09:15 +0800 Subject: [PATCH] update: webpack.config Signed-off-by: laibo102 Change-Id: I9a6b4f02c3c4fe717d15c54494125c7d593fc83b --- compiler/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/webpack.config.js b/compiler/webpack.config.js index c796410..3b19d64 100644 --- a/compiler/webpack.config.js +++ b/compiler/webpack.config.js @@ -126,9 +126,9 @@ function initConfig(config) { }; } if (!projectConfig.aceModuleJsonPath) { - config.resolve.modules.push(path.join(projectPath, '../../../../node_modules/')); + config.resolve.modules.push(path.resolve(projectPath, '../../../../node_modules/')); } else { - config.resolve.modules.push(path.join(projectPath, '../../../node_modules/')); + config.resolve.modules.push(path.resolve(projectPath, '../../../node_modules/')); } }