Files
v10/examples/html-demo/vite.config.mts
T
2025-09-22 23:39:30 +10:00

14 lines
300 B
TypeScript

import { fileURLToPath } from 'url';
import { defineConfig } from 'vite';
const __dirname = fileURLToPath(new URL('.', import.meta.url));
export default defineConfig({
root: __dirname,
server: {
port: 5174,
strictPort: false, // Allow Vite to try other ports if 5174 is taken
},
});