vite config patch

This commit is contained in:
Kevin Sträßler 2025-12-09 20:49:02 +01:00
parent 50387b7a45
commit a33f045a2d

View file

@ -6,7 +6,6 @@ import tailwindcss from '@tailwindcss/vite'
const config = defineConfig({ const config = defineConfig({
plugins: [ plugins: [
// this is the plugin that enables path aliases
viteTsConfigPaths({ viteTsConfigPaths({
projects: ['./tsconfig.json'], projects: ['./tsconfig.json'],
}), }),
@ -14,6 +13,9 @@ const config = defineConfig({
tanstackStart(), tanstackStart(),
viteReact(), viteReact(),
], ],
preview: {
allowedHosts: ['test.joesfarms.de'],
},
}) })
export default config export default config