1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| import { fileURLToPath, URL } from 'node:url';
| import react from '@vitejs/plugin-react';
| import { defineConfig } from 'vite';
|
| export default defineConfig({
| plugins: [react()],
| resolve: {
| alias: {
| '@': fileURLToPath(new URL('./src', import.meta.url)),
| },
| },
| server: {
| port: 5173,
| host: true,
| },
| });
|
|