Refactor: Move webpeer from lib to main repository.

This commit is contained in:
vorotamoroz
2026-01-26 09:17:01 +00:00
parent 28146eec2c
commit 46546e121f
28 changed files with 2097 additions and 12 deletions
+24
View File
@@ -0,0 +1,24 @@
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import path from "node:path";
// https://vite.dev/config/
export default defineConfig({
plugins: [svelte()],
resolve: {
alias: {
"@": path.resolve(__dirname, "../../"),
"@lib": path.resolve(__dirname, "../../lib/src"),
},
},
base: "./",
build: {
outDir: "dist",
emptyOutDir: true,
rollupOptions: {
input: {
index: "index.html",
// uitest: "uitest.html",
},
},
},
});