Some checks failed
build-docker-imge / Build the docker container (push) Failing after 1m25s
18 lines
472 B
TypeScript
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)
|