mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-08-26 13:27:05 +00:00
25 lines
612 B
TypeScript
25 lines
612 B
TypeScript
import { defineConfig } from "vite";
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
import { path } from "@vrtmrz/livesync-commonlib/node";
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "../../"),
|
|
},
|
|
},
|
|
base: "./",
|
|
build: {
|
|
outDir: "dist",
|
|
emptyOutDir: true,
|
|
rollupOptions: {
|
|
input: {
|
|
index: "index.html",
|
|
check: "check.html",
|
|
// uitest: "uitest.html",
|
|
},
|
|
},
|
|
},
|
|
});
|