Skip to content

Commit

Permalink
Merge pull request #39 from /issues/38
Browse files Browse the repository at this point in the history
Vite gh-pages build
  • Loading branch information
jasonsturges authored Feb 28, 2024
2 parents e066d54 + afcf6b5 commit 2f0e9dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"dev": "tsc && vite build --watch",
"start": "vite --host --open",
"build": "tsc && vite build",
"build:demo": "tsc && vite build --config vite.demo.config.ts",
"lint:scripts": "eslint . --ext .ts",
"clean": "rimraf ./dist ./docs"
},
Expand Down
8 changes: 8 additions & 0 deletions vite.demo.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig, UserConfig } from "vite";

export default defineConfig({
base: "/lunarphase-js",
build: {
sourcemap: true,
},
} satisfies UserConfig);

0 comments on commit 2f0e9dc

Please sign in to comment.