Migrate from create react app to vite

This commit is contained in:
Przemek Więch
2025-02-05 17:05:34 +01:00
parent 99a217191b
commit b3f5ae1c25
22 changed files with 3751 additions and 21797 deletions

View File

@@ -126,11 +126,11 @@ function Contents() {
/>
<p className="ui right aligned version">
version: {formatBuildDate(process.env.REACT_APP_GIT_TIME!)} (
version: {formatBuildDate(import.meta.env.VITE_GIT_TIME!)} (
<a
href={`https://github.com/PeWu/topola-viewer/commit/${process.env.REACT_APP_GIT_SHA}`}
href={`https://github.com/PeWu/topola-viewer/commit/${import.meta.env.VITE_GIT_SHA}`}
>
{process.env.REACT_APP_GIT_SHA}
{import.meta.env.VITE_GIT_SHA}
</a>
)
</p>