Merge branch 'main' of github/Draconizations/pk-webs-svelte into feat/dashboard
This commit is contained in:
18
dashboard/vite.config.js
Normal file
18
dashboard/vite.config.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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"
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user