From 0c17fe0d6e3fa8e83bd80f7ff8940df42411cb29 Mon Sep 17 00:00:00 2001 From: Brian Ingles Date: Fri, 13 Dec 2024 16:39:52 -0600 Subject: [PATCH] Removed Browser specific code (DH-18191) --- packages/jsapi-nodejs/src/loaderUtils.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/jsapi-nodejs/src/loaderUtils.ts b/packages/jsapi-nodejs/src/loaderUtils.ts index a6980596a..0ae8194ec 100644 --- a/packages/jsapi-nodejs/src/loaderUtils.ts +++ b/packages/jsapi-nodejs/src/loaderUtils.ts @@ -76,12 +76,6 @@ export async function loadModules({ // Transpile if source and target module types differ if (needsTranspile) { - const wasmURL = require.resolve('esbuild-wasm/esbuild.wasm'); - - await esbuild.initialize({ - wasmURL, - }); - await esbuild.build({ // These can be overridden by esbuildOptions bundle: false,