update: webpack.config

Signed-off-by: laibo102 <laibo2@huawei.com>
Change-Id: I9a6b4f02c3c4fe717d15c54494125c7d593fc83b
This commit is contained in:
laibo102
2022-04-06 10:09:15 +08:00
parent 740625f8b8
commit 7bad8a3109
+2 -2
View File
@@ -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/'));
}
}