Ohtuilmo / ohtuilmo

MIT License
0 stars 1 forks source link

Update frontend node version and migrate configuration from create-react-app to Vite #261

Closed vejol closed 7 months ago

vejol commented 7 months ago

This PR changes frontend's node version from 10 to 20. This is essential for updating other dependencies.

Additionally, configration of the app is migrated from create-react-app to Vite. This will modernize configuration as Vite is recommended for new React apps nowadays. I had to do migration simultaneously with node version change as old create-react-app didn't work with new node and it seemed to be complicated to fix.

I tested new frontend image on staging and everything seemed to work correctly.