22 lines
477 B
TypeScript
22 lines
477 B
TypeScript
|
|
import { defineConfig } from "vite";
|
||
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||
|
|
import path from "path";
|
||
|
|
|
||
|
|
// https://vitejs.dev/config/
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [svelte()],
|
||
|
|
clearScreen: false,
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
$lib: path.resolve("./src/lib"),
|
||
|
|
},
|
||
|
|
},
|
||
|
|
server: {
|
||
|
|
port: 1420,
|
||
|
|
strictPort: true,
|
||
|
|
watch: {
|
||
|
|
ignored: ["**/src-tauri/**", "**/client/**", "**/server/**", "**/backend/**", "**/gui/**"],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|