update: webpack.config

Signed-off-by: laibo102 <laibo2@huawei.com>
Change-Id: Id5c51855db7898b232e6a46cce9ed55fbc65a711
This commit is contained in:
laibo102
2022-04-06 14:35:29 +08:00
parent 7bad8a3109
commit c0f6ec4497
+2 -2
View File
@@ -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'));
}
}