mirror of
https://github.com/Nezumi-2711/uptime-monitoring.git
synced 2026-09-22 13:48:31 +00:00
16 lines
491 B
TypeScript
16 lines
491 B
TypeScript
import { cloudflare } from '@cloudflare/vite-plugin';
|
|
import babel from '@rolldown/plugin-babel';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import react, { reactCompilerPreset } from '@vitejs/plugin-react';
|
|
import path from 'node:path';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), babel({ presets: [reactCompilerPreset()] }), tailwindcss(), cloudflare()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(import.meta.dirname, './src'),
|
|
},
|
|
},
|
|
});
|