updating the target in the config to fix the transpile error for mapbox

This commit is contained in:
csawatzky 2025-05-08 13:18:49 -06:00
parent 4f9ab68ed9
commit f1b18794b8

View file

@ -22,6 +22,7 @@ export default defineConfig({
outDir: './build', outDir: './build',
sourcemap: true, sourcemap: true,
minify: false, minify: false,
target: 'esnext'
}, },
esbuild: { esbuild: {
keepNames: true, // Prevent function name mangling keepNames: true, // Prevent function name mangling