From d9e5b93436a8b68ed224b7bb2ba1c4a78d8e5376 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Wed, 20 Sep 2023 23:07:56 +1000 Subject: [PATCH] Fix workflow script --- client/.gitignore | 1 + client/dist/index.html | 25 ------------------------- client/vite.config.ts | 1 + 3 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 client/dist/index.html diff --git a/client/.gitignore b/client/.gitignore index c0676348..beef6101 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -10,6 +10,7 @@ # production /build +/dist # misc .DS_Store diff --git a/client/dist/index.html b/client/dist/index.html deleted file mode 100644 index bd04bf73..00000000 --- a/client/dist/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - Waypoint - - - - - - - -
- - - - \ No newline at end of file diff --git a/client/vite.config.ts b/client/vite.config.ts index 4bf7b869..9b333f46 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -7,6 +7,7 @@ import react from "@vitejs/plugin-react"; export default { mode: "production", root: path.join(process.cwd(), "./src"), + base: "./", build: { outDir: path.join(process.cwd(), "./dist") }, plugins: [ react(),