perf(frontend): keep the changelog out of the eager App chunk (C-3.19)

App.tsx imported CURRENT_VERSION from releaseNotes, which pulled its ~900-line
changelog into the eager App chunk and defeated the lazy ReleaseNotes split. App now
uses FRONTEND_VERSION (the built VITE_APP_VERSION, equal to RELEASE_NOTES[0].version
by release convention) from lib/version, and CURRENT_VERSION is removed. Verified in
the built bundle: the changelog text now lives only in the ReleaseNotes lazy chunk.
This commit is contained in:
2026-07-21 21:47:45 +02:00
parent 0317f53b1e
commit 3d5662df22
2 changed files with 5 additions and 4 deletions
-2
View File
@@ -923,5 +923,3 @@ export const RELEASE_NOTES: ReleaseEntry[] = [
],
},
];
export const CURRENT_VERSION = RELEASE_NOTES[0]?.version ?? "dev";