Updated Vite configuration: defined globalThis, adjusted optimizeDeps, and enabled eager loading with query params for import.meta.glob.

This commit is contained in:
kor-elf committed 2026-10-23 20:31:51 +05:00
1 parent 646f3ee21a
commit 253cfebbef
2 files changed
+15 -3

No files matched your search

+11
View File
@@ -11,4 +11,15 @@ export default defineConfig({
refresh: true,
}),
],
define: {
global: 'globalThis',
},
optimizeDeps: {
esbuildOptions: {
define: {
global: 'globalThis',
},
},
},
});