mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-18 16:04:32 -04:00
update: webpack.config
Signed-off-by: laibo102 <laibo2@huawei.com> Change-Id: I1f3daedc2e81c25637d13535e57fe1640ecd814d
This commit is contained in:
@@ -125,6 +125,11 @@ function initConfig(config) {
|
||||
cacheDirectory: path.resolve(projectConfig.cachePath, '.ets_cache')
|
||||
};
|
||||
}
|
||||
if (!projectConfig.aceModuleJsonPath) {
|
||||
config.resolve.modules.push(path.join(projectPath, '../../../../node_modules/'));
|
||||
} else if (projectConfig.aceModuleJsonPath) {
|
||||
config.resolve.modules.push(path.join(projectPath, '../../../node_modules/'));
|
||||
}
|
||||
}
|
||||
|
||||
function setProjectConfig(envArgs) {
|
||||
|
||||
Reference in New Issue
Block a user