web build

This commit is contained in:
nicwands
2026-02-16 16:17:14 -05:00
parent 94cf443725
commit c436488f9d
5 changed files with 110 additions and 87 deletions

20
vite.config.js Normal file
View File

@@ -0,0 +1,20 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import { sharedConfig } from './vite.shared'
export default defineConfig({
...sharedConfig,
root: 'src/renderer',
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
port: 3000,
},
build: {
outDir: '../../dist/renderer',
},
})