Skip to content

Use Void's routing.trailingSlash instead of moving pages in CI - #20

Merged
honbin merged 2 commits into
mainfrom
void-trailing-slash
Nov 9, 2026
Merged

honbin merged 2 commits into
mainfrom
void-trailing-slash

Conversation

@honbin

@honbin honbin commented Nov 9, 2026

Copy link
Copy Markdown
Member

Void 1.7.0 adds routing.trailingSlash, so the build writes pages as making/index.html itself and the find … mv step in CI goes.

  • Built locally three ways: 1.6.2 with the CI workaround, 1.7.0 with the workaround, and 1.7.0 with trailingSlash: true and no workaround. All 726 files in dist/client are identical.
  • .cloudflare is ignored; 1.7.0's build writes it, and Void's scaffold ignores it too.

🤖 Generated with Claude Code

1.7.0 adds routing.trailingSlash, which the next commit uses. Its build also writes a .cloudflare directory, ignored here as Void's own scaffold does.
GitHub Pages answers /making/ only when making/index.html exists, so CI moved each built page into place. Void 1.7.0 writes that layout itself, and the output is byte-for-byte the same, so the post-build step goes.
@honbin
honbin merged commit 447910b into main Nov 9, 2026
2 checks passed
@honbin
honbin deleted the void-trailing-slash branch November 9, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant