Skip to content

Commit

Permalink
fix: support child path to fix router issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Aug 30, 2023
1 parent 642fcd8 commit 1091234
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,15 @@ jobs:
- name: install dependencies
run: pnpm install

- name: build for gh-pages
run: pnpm build --base /metacubexd
- name: build
run: pnpm build

- name: publish gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

- name: build for github release
run: pnpm build

- name: zip
run: |
zip -r ../dist.zip .
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig, splitVendorChunkPlugin } from 'vite'
import solidPlugin from 'vite-plugin-solid'

export default defineConfig({
base: './',
build: { chunkSizeWarningLimit: 1000 },
resolve: { alias: { '~': '/src' } },
plugins: [devtools(), solidPlugin(), splitVendorChunkPlugin()],
Expand Down

0 comments on commit 1091234

Please sign in to comment.