mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
21 lines
430 B
TypeScript
Executable File
21 lines
430 B
TypeScript
Executable File
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
server: {
|
|
host: true,
|
|
port: 3001,
|
|
watch: {
|
|
usePolling: true,
|
|
interval: 100,
|
|
},
|
|
},
|
|
});
|