const { wasmLoader } = require('esbuild-plugin-wasm'); module.exports = { target: 'esnext', plugins: () => [ wasmLoader({ mode: 'deferred', }), ], }