Files
portfolio/web/vite.config.ts
Ahmed Al-Taiar 0283c293ef
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
An attempt to fix the PDF iframe not loading properly when the API domain is third-partyBasic printer CRUD
2025-04-06 18:08:05 -04:00

17 lines
407 B
TypeScript
Executable File

import dns from 'dns'
import type { UserConfig } from 'vite'
import { defineConfig } from 'vite'
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()],
}
export default defineConfig(viteConfig)