mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-18 16:04:32 -04:00
add: node_modules find path
Signed-off-by: laibo102 <laibo2@huawei.com> Change-Id: I0df73aead7ff54420a904dbd56b769a779c4bd33
This commit is contained in:
@@ -126,8 +126,10 @@ 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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user