mirror of
https://github.com/lumehq/lume.git
synced 2025-03-17 21:32:32 +01:00
14 lines
338 B
TypeScript
14 lines
338 B
TypeScript
import react from '@vitejs/plugin-react-swc';
|
|
import { defineConfig } from 'vite';
|
|
import ssr from 'vite-plugin-ssr/plugin';
|
|
import viteTsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), ssr({ prerender: true }), viteTsconfigPaths()],
|
|
define: {
|
|
global: {
|
|
window: {},
|
|
},
|
|
},
|
|
});
|