fixed build errors, again

This commit is contained in:
Ren Amamiya
2023-04-23 09:56:31 +07:00
parent 4b937c87ff
commit 2d9689967d
9 changed files with 32 additions and 30 deletions

View File

@@ -6,8 +6,6 @@ import viteTsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
plugins: [react(), ssr({ prerender: true }), viteTsconfigPaths()],
define: {
global: {
window: {},
},
global: 'window',
},
});