Updated Vite configuration: defined globalThis, adjusted optimizeDeps, and enabled eager loading with query params for import.meta.glob.
This commit is contained in:
2 files changed
+15
-3
No files matched your search
@@ -11,4 +11,15 @@ export default defineConfig({
|
||||
refresh: true,
|
||||
}),
|
||||
],
|
||||
define: {
|
||||
global: 'globalThis',
|
||||
},
|
||||
optimizeDeps: {
|
||||
esbuildOptions: {
|
||||
define: {
|
||||
global: 'globalThis',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user