Skip to content

Commit

Permalink
(chore) Fix example site deploy (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored May 5, 2024
1 parent 07c818f commit 664a53d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"axios": "^1.6.8",
"date-fns": "^3.6.0",
"lodash": "^4.17.21",
"metar-taf-parser": "^8.0.5",
"metar-taf-parser": "link:..",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-json-view": "^1.21.3",
Expand All @@ -33,7 +33,7 @@
"predeploy": "pnpm build",
"deploy": "gh-pages -d build",
"start": "vite",
"build": "tsc && vite build",
"build": "tsc && vite build && cp build/index.html build/404.html",
"serve": "vite preview",
"upgrade:packageManager": "corepack use pnpm@latest"
},
Expand Down
9 changes: 2 additions & 7 deletions example/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions example/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
base: "/metar-taf-parser/",
plugins: [react()],
build: {
outDir: "build",
},
});

0 comments on commit 664a53d

Please sign in to comment.