diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2023-10-05 20:57:10 +0200 |
|---|---|---|
| committer | Stanisław Zagórowski <hasohasacz@gmail.com> | 2023-10-05 20:57:10 +0200 |
| commit | c21ae0a4997324892377fa3be87917c61351fed8 (patch) | |
| tree | 3371422d2da13cd23fa3a03ac68f222e84c089ca /front | |
| parent | d6c36c47f855ac3fd998cedc422a6d91ecbf10f8 (diff) | |
front: fix global
Diffstat (limited to 'front')
| -rw-r--r-- | front/vite.config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/front/vite.config.ts b/front/vite.config.ts index 997e4fb..075ba1f 100644 --- a/front/vite.config.ts +++ b/front/vite.config.ts @@ -4,7 +4,7 @@ import preact from '@preact/preset-vite' // https://vitejs.dev/config/ export default defineConfig({ define: { - global: {}, + global: 'window', }, plugins: [preact()], }) |
