vite config patch
This commit is contained in:
parent
50387b7a45
commit
a33f045a2d
1 changed files with 12 additions and 10 deletions
|
|
@ -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
|
||||
Loading…
Reference in a new issue