Bulk commit: Stand ende 22.01.

This commit is contained in:
2026-01-22 17:39:38 +01:00
parent cca316daf2
commit f8940b5dcc
75 changed files with 12419 additions and 6719 deletions

View File

@@ -3,22 +3,37 @@ import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import viteReact from '@vitejs/plugin-react'
import viteTsConfigPaths from 'vite-tsconfig-paths'
import tailwindcss from '@tailwindcss/vite'
import { oidcSpa } from 'oidc-spa/vite-plugin'
import { nitroV2Plugin } from '@tanstack/nitro-v2-vite-plugin'
const config = defineConfig({
plugins: [
// this is the plugin that enables path aliases
viteTsConfigPaths({
projects: ['./tsconfig.json'],
}),
tailwindcss(),
tanstackStart({
customViteReactPlugin: true,
}),
viteReact(),
],
server: {
port: 3001,
},
// import { nitro } from 'nitro/vite'
const config = defineConfig(() => {
return {
plugins: [
nitroV2Plugin(),
viteTsConfigPaths({
projects: ['./tsconfig.json'],
}),
tailwindcss(),
// nitro({ preset: 'node-server' }),
tanstackStart({
// spa: {
// enabled: true,
// },
}),
oidcSpa({
freezeFetch: true,
freezeXMLHttpRequest: true,
freezeWebSocket: true,
}),
viteReact(),
],
server: {
port: 3001,
},
// build: isSsrBuild ? ssrBuildConfig : clientBuildConfig,
}
})
export default config