diff --git a/.esbuild/config.js b/.esbuild/config.js index 87da4b95..116af660 100644 --- a/.esbuild/config.js +++ b/.esbuild/config.js @@ -37,6 +37,7 @@ const esmConfig = { sourcemap: true, minify: true, splitting: true, + target: 'es6', format: 'esm', define: { global: 'window', 'process.env': JSON.stringify(env) }, };