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: I9a6b4f02c3c4fe717d15c54494125c7d593fc83b
This commit is contained in:
@@ -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/'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user