We should remove vite-plugin-require
https://www.npmjs.com/package/vite-plugin-require
This plugin adds babel into our build process, increasing complexity a lot and probably slowing it down. Also, it prevents using new TypeScript features like using because we can't modify the babel config of this plugin directly.
In theory it should not be hard. But it will be very annoying. Because we need to move all those require's of Tabler icons to imports at the top.