Mingshi Cai
Mingshi Cai
It's possible to pass environment variables to react building stage, then the vars would be statically embedded to the HTML/JS files and visible to all front-end users. If this is...
For more information about react envs, please read this page: https://vitejs.dev/guide/env-and-mode.html
👌 I got it, maybe this weekend I'll implement this feature.
I've tried to add Electron, by adding another script entrypoint in `package.json` to build for desktop apps only. It's still in progress, and we can avoid the intrusiveness of Electron...
Sorry, no bandwidth for this feature recently. :(
I've come up with a great idea and I plan to put it into action tomorrow after work. 😃