rage-framework-example/apps/browser/vite.config.ts

18 lines
370 B
TypeScript
Raw Permalink Normal View History

2024-10-28 10:28:56 +00:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
outDir: '../../server/client_packages/cef',
emptyOutDir: true,
},
resolve: {
alias: {
'@': './src',
'@/*': './src/*',
},
},
})