diff --git a/packages/sdk/esbuild.dev.mjs b/packages/sdk/esbuild.dev.mjs index 3b627872..a38f1424 100644 --- a/packages/sdk/esbuild.dev.mjs +++ b/packages/sdk/esbuild.dev.mjs @@ -1,12 +1,11 @@ import esbuild from 'esbuild'; - +import { wasmLoader } from 'esbuild-plugin-wasm'; import { esmConfig, getPackageJson } from '../../esbuild.config.mjs'; const packageJson = getPackageJson(import.meta.url); const peerDependencies = packageJson.peerDependencies || {}; -const plugins = []; - +const plugins = [wasmLoader({ mode: 'embedded' })]; const options = { ...esmConfig, bundle: true,