This simple change allows to easily deploy to GitHub Pages with the required /SIMDE/ base URL path while still using the default / route for the rest of deployments, including development environments.
In the future, when build configurations increase in complexity, this approach could be replaced in favor of more specific configs that extend the base vite.config.ts file, e.g. github-pages.config.ts inside a deploy/vite dir.
This simple change allows to easily deploy to GitHub Pages with the required
/SIMDE/
base URL path while still using the default/
route for the rest of deployments, including development environments.In the future, when build configurations increase in complexity, this approach could be replaced in favor of more specific configs that extend the base
vite.config.ts
file, e.g.github-pages.config.ts
inside adeploy/vite
dir.