From cea823b448a265b8023401d58ca79b40d6c96e3a Mon Sep 17 00:00:00 2001 From: Alessio Sferro Date: Sat, 11 Jan 2025 11:54:14 +0100 Subject: [PATCH] fix(vite.config): remove baseUrl --- .gitignore | 4 +++- ui/package.json | 3 +-- ui/vite.config.ts | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 25d78f8..37d994c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ data/kronos.bolt bin *.sqlite .idea/ -.husky/ \ No newline at end of file +.husky/ +webbuild/web/* +!webbuild/web/index.html \ No newline at end of file diff --git a/ui/package.json b/ui/package.json index 4310c88..a473acb 100644 --- a/ui/package.json +++ b/ui/package.json @@ -10,8 +10,7 @@ "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", - "preview": "vite preview", - "prepare": "husky install" + "preview": "vite preview" }, "dependencies": { "@chakra-ui/react": "^3.2.3", diff --git a/ui/vite.config.ts b/ui/vite.config.ts index b5df699..622f2a6 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -7,6 +7,5 @@ export default defineConfig({ build: { outDir: 'web', }, - base: '/web/', plugins: [react(), tsconfigPaths()], });