From f1b18794b89e69ebc70c05728fb59a7dc91ee1cb Mon Sep 17 00:00:00 2001 From: csawatzky Date: Thu, 8 May 2025 13:18:49 -0600 Subject: [PATCH] updating the target in the config to fix the transpile error for mapbox --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 212bfe4..a657a38 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -22,6 +22,7 @@ export default defineConfig({ outDir: './build', sourcemap: true, minify: false, + target: 'esnext' }, esbuild: { keepNames: true, // Prevent function name mangling