Files
2026-06-07 21:33:58 -04:00

30 lines
631 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import svgr from "vite-plugin-svgr"
// https://vite.dev/config/
export default defineConfig({
build: {
chunkSizeWarningLimit: 2000,
rollupOptions: {
input: {
main: 'index.html',
t3k_callback: 't3k_response.html', // your alternate page
}
}
},
plugins: [react(),svgr()],
server: {
proxy: {
'/resources': {
target: 'http://localhost:8080',
changeOrigin: false,
},
'^/var/.*': {
target: 'http://localhost:8080',
changeOrigin: false,
},
}
}
})