Skip to content

Commit

Permalink
fix: build demo site using relative URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed May 16, 2021
1 parent ae0fc4c commit 8e4f668
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Expand Up @@ -29,7 +29,9 @@ jobs:
echo $newPackage > package.json
npm run build
- name: Remove spectra
run: rm -rf build/data
run: |
rm -rf build/data
rm -rf build/exercises
- name: Push to gh-pages
run: |
git config user.email luc@patiny.com
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Expand Up @@ -13,6 +13,7 @@ export default ({ mode }) => {
}

return defineConfig({
base: './',
esbuild: {
// Import jsx for Emotion and React for Fragment.
jsxFactory: 'jsx',
Expand Down

0 comments on commit 8e4f668

Please sign in to comment.