DEV Community

Discussion on: How Can I Access Environment Variables in My Static Website?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Webpack Define Plugin.

But then, anything to goes the frontend isn't secret. You had better use a server, or a serverless functions.