PluralKit/vite.config.js

22 lines
427 B
JavaScript
Raw Normal View History

2021-12-12 11:56:26 +00:00
import resolve from 'path';
2021-12-09 11:53:54 +00:00
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
2021-12-12 11:05:24 +00:00
optimizeDeps: { exclude: ["svelte-navigator"] },
2021-12-12 11:27:26 +00:00
server: {
https: true
2021-12-12 11:56:26 +00:00
},
build: {
rollupOptions: {
input: {
main: 'index.html',
404: '404.html'
},
},
outDir: "docs"
2021-12-12 11:05:24 +00:00
}
2021-12-09 11:53:54 +00:00
})