21 lines
398 B
TypeScript
21 lines
398 B
TypeScript
import { defineConfig } from "vite"
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte"
|
|
import renderer from 'vite-plugin-electron-renderer'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: "./",
|
|
build: {
|
|
|
|
outDir: "./build/frontend",
|
|
|
|
rollupOptions: {
|
|
|
|
input: {
|
|
app: "./src/frontend/index.html"
|
|
}
|
|
}
|
|
},
|
|
plugins: [svelte(), renderer()],
|
|
})
|