nismod / infra-risk-vis

Risk analysis visualisation tool
https://global.infrastructureresilience.org
MIT License
10 stars 1 forks source link

Migrate from CRA to Vite #141

Closed mz8i closed 1 year ago

mz8i commented 1 year ago

Switches from CRA to Vite. The result of the Vite build process currently outputs a bundle that only supports modern browsers. Adding @vitejs/plugin-legacy led to errors - something to look into separately.

This PR also contains fixes to some type/linting issues that were picked up in the process.