Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

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

le-czs7c3372c062e8
diff --git a/explorer/vite.config.ts b/explorer/vite.config.ts
index bdc253f0..e36eec50 100644
--- a/explorer/vite.config.ts
+++ b/explorer/vite.config.ts
@@ -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': {