!620 自定义har包寻址错误

Merge pull request !620 from youbing54/master
This commit is contained in:
openharmony_ci 2024-04-03 09:23:39 +00:00 committed by Gitee
commit 797726d6f6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -160,7 +160,8 @@ module.exports = (env) => {
process.env.projectPath,
path.join(process.env.projectPath, '../../../../../'),
path.join(__dirname, 'node_modules'),
'./node_modules'
'./node_modules',
'./oh_modules'
]
}
if (fs.existsSync(path.resolve(process.env.projectPath, 'i18n'))) {