fix(explorer): align dev esbuild target (#966)

Co-authored-by: le-czs <243511553+le-czs@users.noreply.github.com>
Co-authored-by: Mohd Kaif <98801504+KaifAhmad1@users.noreply.github.com>
This commit is contained in:
le-czs
2026-08-13 17:51:54 +05:30
committed by GitHub
co-authored by le-czs Mohd Kaif
parent 2cfb5de43d
commit 7c3372c062
+7
View File
@@ -57,6 +57,13 @@ export default defineConfig({
},
},
},
optimizeDeps: {
// Keep dependency pre-bundling aligned with the production build target.
// esbuild >=0.28 no longer lowers destructuring for Vite's default target.
esbuildOptions: {
target: 'esnext',
},
},
server: {
proxy: {
'/api': {