Add vite config to VCS?

Hi! After upgrading my project to Vaadin Flow 23.2.8 it now uses vite. Two new files are generated, vite.config.ts and vite.generated.ts. Should I add only the first one to VCS and ignore the second one? Or should I ignore both because both are generated if not existing?

I’ve committed both, so that I can see changes in between Vaadin updates - can be helpful if you for example found a weird behavior after an upgrade and looking for the diff in between the versions