typescript-runtime-type-benchmarks
typescript-runtime-type-benchmarks copied to clipboard
Switch / update to a static build with Vite for the viewer app
The current benchmark viewer uses unpkg.com to load its dependencies. That was the easiest solution for me at the time I wrote it (a time where huge webpack configs, commonsj modules and long builds were still the norm 😁 ).
Atm. unpgk.com has long loading times and even timeouts so the benchmark viewer does not work properly, see https://github.com/moltar/typescript-runtime-type-benchmarks/pull/1731#issuecomment-2726326128
Whenever I deploy a small app to Github pages these days I'm using a simple static build with Vite using the official github example example. Works without any flaws.
Lets do that for the benchmark viewer too?!
@moltar @DarkGL please 👍 or 👎 or comment so I can start working on a PR.
Lets go!
Damn, the new build somehow broke the Star / Fork buttons in the upper right.
Saw that in my local tests too but I thought it was due to my repo setup differing from this repo.