PluralKit/vite.config.js
2021-12-15 13:52:33 +01:00

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"
}
})