first
This commit is contained in:
20
vite.config.ts
Normal file
20
vite.config.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
server: {
|
||||
host: true, // Permet l'accès depuis le réseau local (pour tester sur mobile)
|
||||
port: 3000,
|
||||
open: true,
|
||||
allowedHosts: [
|
||||
'jeu.maison43.duckdns.org', // Domaine DuckDNS autorisé
|
||||
'localhost',
|
||||
'127.0.0.1',
|
||||
],
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
assetsDir: 'assets',
|
||||
sourcemap: true,
|
||||
},
|
||||
publicDir: 'public',
|
||||
});
|
||||
Reference in New Issue
Block a user