mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-05 14:30:03 +01:00
18 lines
355 B
JavaScript
18 lines
355 B
JavaScript
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
//define: { global: {} },
|
|
base: '',
|
|
define: {
|
|
'process.env': {},
|
|
// 'global.window': 'window'
|
|
// global: {}
|
|
},
|
|
optimizeDeps: {
|
|
esbuildOptions: {
|
|
define: {
|
|
global: 'globalThis'
|
|
}
|
|
}
|
|
}
|
|
}) |