From c0f6ec44977c179e31aed368655dc1c306ea58b6 Mon Sep 17 00:00:00 2001 From: laibo102 Date: Wed, 6 Apr 2022 14:35:29 +0800 Subject: [PATCH] update: webpack.config Signed-off-by: laibo102 Change-Id: Id5c51855db7898b232e6a46cce9ed55fbc65a711 --- 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 3b19d64..886b647 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.resolve(projectPath, '../../../../node_modules/')); + config.resolve.modules.push(path.resolve(projectPath, '../../../../node_modules')); } else { - config.resolve.modules.push(path.resolve(projectPath, '../../../node_modules/')); + config.resolve.modules.push(path.resolve(projectPath, '../../../node_modules')); } }