Nachhilfesystem24/web/vite.config.mts
KoCoder 9d72e3443b
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 1m25s
Bulk-commit
2024-10-26 08:43:37 +02:00

18 lines
472 B
TypeScript

import dns from 'dns'
import type { UserConfig } from 'vite'
import { defineConfig } from 'vite'
import tsconfigPaths from 'vite-tsconfig-paths'
import redwood from '@redwoodjs/vite'
// So that Vite will load on localhost instead of `127.0.0.1`.
// See: https://vitejs.dev/config/server-options.html#server-host.
dns.setDefaultResultOrder('verbatim')
const viteConfig: UserConfig = {
plugins: [redwood(), tsconfigPaths()],
}
export default defineConfig(viteConfig)