mirror of
https://gitee.com/openharmony/developtools_ace_ets2bundle
synced 2024-11-27 02:30:55 +00:00
!2795 fix worker no config error
Merge pull request !2795 from Bo Jiang/cherry-pick-1701085729
This commit is contained in:
commit
98e9bf5049
@ -494,6 +494,7 @@ function loadWorker(projectConfig, workerFileEntry) {
|
||||
const relativePath = path.relative(workerPath, item)
|
||||
.replace(/\.(ts|js|ets)$/, '').replace(/\\/g, '/');
|
||||
projectConfig.entryObj[`./${WORKERS_DIR}/` + relativePath] = item;
|
||||
abilityPagesFullPath.push(path.resolve(item).toLowerCase());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user