updating the target in the config to fix the transpile error for mapbox
This commit is contained in:
parent
4f9ab68ed9
commit
f1b18794b8
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ export default defineConfig({
|
|||
outDir: './build',
|
||||
sourcemap: true,
|
||||
minify: false,
|
||||
target: 'esnext'
|
||||
},
|
||||
esbuild: {
|
||||
keepNames: true, // Prevent function name mangling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue