diff --git a/build.js b/build.js index 6c6537f56ab4..71cd148e34c2 100644 --- a/build.js +++ b/build.js @@ -1003,23 +1003,9 @@ export const buildEngine = async (options) => { // Create index.js await createIndexJs("engine"); - // Generate bundle for CSS and ThirdParty using esbuild. - await bundleCSS({ - filePaths: [ - ...workspaceCssFiles["engine"], - "packages/engine/Source/ThirdParty/google-earth-dbroot-parser.js", - ], - outbase: "packages/engine/Source", - outdir: "packages/engine/Build", - }); - // Build workers. await bundleWorkers({ - input: [ - "packages/engine/Source/Workers/**", - "packages/engine/Source/ThirdParty/Workers/**", - "!packages/engine/Source/ThirdParty/Workers/package.json", - ], + input: ["packages/engine/Source/Workers/**"], inputES6: ["packages/engine/Source/WorkersES6/*.js"], path: "packages/engine/Build", }); @@ -1037,15 +1023,6 @@ export const buildEngine = async (options) => { write: write, }); - // Copy static assets to Build folder. - await copyFiles( - [ - "packages/engine/Source/ThirdParty/**/*.wasm", - "packages/engine/Source/ThirdParty/**/*.json", - ], - "packages/engine/Build/ThirdParty" - ); - return; };