This repository has been archived on 2026-02-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
serengo/vite.config.ts
2025-10-07 14:28:23 +02:00

16 lines
375 B
TypeScript

import tailwindcss from '@tailwindcss/vite';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [tailwindcss(), sveltekit()],
preview: { allowedHosts: ['ziasvannes.tech'] },
build: {
target: 'es2020',
cssCodeSplit: true
},
optimizeDeps: {
include: ['maplibre-gl', 'svelte-maplibre']
}
});