@e How do I do dumb shit like this in Vite? https://gitlab.com/soapbox-pub/soapbox/-/blob/develop/app/soapbox/utils/code.js
I call git from JS at buildtime to get the current commit. The runtime code is only the exported JSON object. I guess it’s kinda like SSR?
I need a solution for Vite.