Svelte UI Update

This commit is contained in:
2024-03-23 14:56:45 +03:00
parent f24a0f8518
commit f51cb15da7
35 changed files with 314 additions and 39 deletions

18
vite.config.js Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
export default defineConfig({
plugins: [svelte()],
server: {
env: {
// Geliştirme ortamında .env.dev dosyasını kullan
VITE_API_URL: process.env.VITE_API_URL
}
},
build: {
env: {
// Üretim ortamında .env.prod dosyasını kullan
VITE_API_URL: process.env.VITE_API_URL
}
}
})