All checks were successful
Windows Release / build-windows (push) Successful in 2m46s
17 lines
322 B
JavaScript
17 lines
322 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
root: '.',
|
|
base: './', // Use relative paths for Electron
|
|
publicDir: 'public',
|
|
build: {
|
|
outDir: 'dist/renderer',
|
|
emptyOutDir: true,
|
|
},
|
|
server: {
|
|
port: 5173,
|
|
},
|
|
});
|