PluralKit/dashboard/vite.config.js

19 lines
394 B
JavaScript

import resolve from 'path';
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
optimizeDeps: { exclude: ["svelte-navigator"] },
build: {
rollupOptions: {
input: {
main: 'index.html',
404: '404.html'
},
},
outDir: "docs"
}
})