Commit Graph
5 Commits
Author SHA1 Message Date
Locust agent e12af7bc5b feat(build): generate the 404 fallback from the current build
The SPA fallback must load the hashed assets of the build that is actually
published, so it cannot be a frozen copy of an index document. The new
scripts/generate-404.mjs writes dist/404.html from the built dist/index.html
and runs last in the build, after vite build has copied publicDir.

The generator resolves the dist directory from its own location, so it
behaves the same from the repository root and from public/, where npm runs
it. It refuses to write a fallback that has no app mount point or that
references files missing from the build output, so a broken build fails
loudly instead of shipping a blank page.

The two frozen copies (public/404.html, public/public/404.html) are
removed; dist/404.html is a generated artefact with no committed source
copy.
2026-11-02 19:08:04 +00:00
github-actions[bot]andGitHub 0cc20dc876 chore(deps): update dependency vue-router to v5
Automated dependency update. All tests passed.
2026-10-06 03:21:59 +00:00
github-actions[bot]andGitHub f8680e6adc chore(deps): update dependency vite to v8
Automated dependency update. All tests passed.
2026-10-05 03:27:55 +00:00
github-actions[bot]andGitHub 53b0014673 chore(deps): update dependency @vitejs/plugin-vue to v6
Automated dependency update. All tests passed.
2026-10-04 04:21:29 +00:00
lukaszraczylo 2c35679bd8 Add page deployment 2025-12-13 00:59:42 +00:00