(no title)
art0rz | 1 year ago
Since a lot of changes would be needed and we are very risk averse (heavily regulated industry), we decided to do it piecemeal by first configuring Vite to behave exactly (or as close to as possible) like CRA and later removing these Vite configurations one by one (and making necessary code changes).
Currently our production builds are done through CRA while dev runs Vite. It works really well and minimal code changes were needed.
I've been wanting to release this config publicly to help others migrate to Vite, but have unfortunately not had time to.
geekybiz|1 year ago