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

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