mirror of
https://github.com/luminous-devs/lume.git
synced 2024-09-14 09:13:31 +00:00
12 lines
321 B
TypeScript
12 lines
321 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',
|
|
},
|
|
});
|