Skip to content

Commit

Permalink
fix: github pages build base path
Browse files Browse the repository at this point in the history
  • Loading branch information
tonai committed Jan 7, 2025
1 parent 48b5d3e commit d57e1e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"dev": "vite",
"prebuild": "react-dsfr update-icons",
"build": "tsc -b && vite build",
"build:pages": "tsc -b && vite build --base=/react-dsfr-tiptap/",
"preview": "vite preview",
"check-types": "tsc --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"scripts": {
"build": "npm run build -w packages/react-dsfr-tiptap",
"build:examples": "npm run build --w examples",
"build:examples": "npm run build:pages --w examples",
"test": "npm run test -w packages/react-dsfr-tiptap",
"examples": "npm run dev -w examples",
"prepare": "husky",
Expand Down

0 comments on commit d57e1e4

Please sign in to comment.