mirror of
https://github.com/zoriya/v10.git
synced 2026-08-15 10:23:32 +00:00
14 lines
300 B
TypeScript
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
|
|
},
|
|
});
|