From f096878aef7e0ca00429ce9592aece977f417da9 Mon Sep 17 00:00:00 2001 From: Kay Date: Tue, 7 May 2024 19:52:00 +0000 Subject: [PATCH] Revert "feat: add gh-pages (#25)" This reverts commit 45063c60f5138a5ff3d287484c920c55c7200415. --- package.json | 6 ++---- vite.config.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9ae2ac0..7cbd039 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,7 @@ "dev": "vite", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", - "preview": "vite preview", - "predeploy": "npm run build", - "deploy": "gh-pages -d dist" + "preview": "vite preview" }, "dependencies": { "@radix-ui/react-checkbox": "^1.0.4", @@ -67,4 +65,4 @@ "vite": "^5.2.0", "vite-tsconfig-paths": "^4.3.2" } -} \ No newline at end of file +} diff --git a/vite.config.ts b/vite.config.ts index cd53435..f267e0a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,6 +4,6 @@ import tsconfigPaths from "vite-tsconfig-paths"; // https://vitejs.dev/config/ export default defineConfig({ - base:'/PACZone/wrapto-frontend', + base:'/', plugins: [react(), tsconfigPaths()], });