Skip to content

Commit 6540a4e

Browse files
committed
fix(playable-ads-adapter): fixed the script plugin error load
fixed the script plugin error load when it was checked the option \\"Import As Plugin\\"
1 parent 8e71936 commit 6540a4e

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

packages/playable-ads-adapter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.3.2",
2+
"version": "1.3.3",
33
"name": "playable-ads-adapter",
44
"main": "./main.js",
55
"devDependencies": {

packages/playable-ads-adapter/src/extensions/builder/3x.ts

-17
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,6 @@ export const initBuildFinishedEvent = (options: Partial<IBuildTaskOption>) => {
8585
})
8686
handleExportFinished()
8787
}
88-
89-
90-
// if (typeof(Worker) !== undefined) {
91-
// console.log('支持Worker,将开启子线程适配')
92-
// const worker = new Worker(workPath, {
93-
// workerData: params
94-
// })
95-
// worker.on('message', ({ finished, msg }: { finished: boolean, msg: string }) => {
96-
// finished ? handleExportFinished() : handleExportError(msg)
97-
// })
98-
// } else {
99-
// console.log('不支持Worker,将开启主线程适配')
100-
// await exec3xAdapter(params, {
101-
// mode: 'serial'
102-
// })
103-
// handleExportFinished()
104-
// }
10588
})
10689
}
10790

0 commit comments

Comments
 (0)