Skip to content

Commit

Permalink
Removed Browser specific code (DH-18191)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Dec 13, 2024
1 parent 9a337f1 commit 0c17fe0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/jsapi-nodejs/src/loaderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ export async function loadModules<TMainModule>({

// 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,
Expand Down

0 comments on commit 0c17fe0

Please sign in to comment.