Initial commit
This commit is contained in:
12
client/vite.config.js
Normal file
12
client/vite.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
server: {
|
||||
host: '0.0.0.0', // dış erişim
|
||||
port: 5173,
|
||||
strictPort: true,
|
||||
watch: { usePolling: true } // bazen hot reload için gerekir
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user