File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -365,6 +365,7 @@ export async function bundleCombinedWorkers(options) {
365
365
thirdPartyWorkerConfig . entryPoints = thirdPartyWorkers ;
366
366
thirdPartyWorkerConfig . outdir = options . path ;
367
367
thirdPartyWorkerConfig . minify = options . minify ;
368
+ thirdPartyWorkerConfig . outbase = "Source" ;
368
369
await esbuild . build ( thirdPartyWorkerConfig ) ;
369
370
370
371
// Bundle ES6 workers.
@@ -426,18 +427,6 @@ export async function bundleWorkers(options) {
426
427
workerConfig . minify = options . minify ;
427
428
await esbuild . build ( workerConfig ) ;
428
429
429
- // Copy ThirdParty workers
430
- const thirdPartyWorkers = await globby ( [ "Source/ThirdParty/Workers/**" ] ) ;
431
-
432
- const thirdPartyWorkerConfig = defaultESBuildOptions ( ) ;
433
- thirdPartyWorkerConfig . entryPoints = thirdPartyWorkers ;
434
- thirdPartyWorkerConfig . outdir = options . path ;
435
- thirdPartyWorkerConfig . outbase = `packages/engine/Source` ; // Maintain existing file paths
436
- thirdPartyWorkerConfig . minify = options . minify ;
437
- // We don't want the CesiumJS copyright banner added to the ThirdParty worker files.
438
- thirdPartyWorkerConfig . banner = undefined ;
439
- await esbuild . build ( thirdPartyWorkerConfig ) ;
440
-
441
430
// Use rollup to build the workers:
442
431
// 1) They can be built as AMD style modules
443
432
// 2) They can be built using code-splitting, resulting in smaller modules
You can’t perform that action at this time.
0 commit comments