mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
import path from "path";
|
|
import { UserConfig } from "vite";
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
|
|
// https://vitejs.dev/config/
|
|
const config: UserConfig = {
|
|
optimizeDeps:{
|
|
exclude:['svelte-routing']
|
|
},
|
|
plugins: [svelte()],
|
|
resolve: {
|
|
alias: {
|
|
"@app": path.resolve("./src"),
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|