Skip to main content

I am trying to build a plugin, with aws cognito as auth system. As I can’t access `wndow` object I have to make localized sign-in sign-out experience. For this I need to store few env variables like app id, client id, etc.

I am using vite and preact https://github.com/mryechkin/figma-vite for building this, and when I build this using vite, it exposes my env variables when I inspect element. Is there a way to store them, so they are private?

Be the first to reply!