From 841813136fac00e698439256f279eaaa93b6601a Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 11 Jul 2024 12:08:07 -0300 Subject: [PATCH] fix: add target to esm build --- .esbuild/config.js | 1 + 1 file changed, 1 insertion(+) 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) }, };