mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-20 19:47:44 -04:00
fix worker map Signed-off-by: houhaoyu <houhaoyu@huawei.com> Change-Id: I0875881e3eaf29e6afa60e747b1a906fb78e7d10
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ function loadWorker(projectConfig) {
|
||||
}
|
||||
const relativePath = path.relative(projectConfig.projectPath, worker);
|
||||
if (filterWorker(relativePath)) {
|
||||
projectConfig.entryObj[relativePath.replace(/\.(ts|js)$/,'')] = worker;
|
||||
projectConfig.entryObj[relativePath.replace(/\.(ts|js)$/,'').replace(/\\/g, '/')] = worker;
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user