Recently, I created a small website using Javascript just for fun and I'm looking to deploy it to Netlify. However, I've encountered an issue with the API key that the website uses. I'm struggling to figure out how to conceal this key. Currently, the key is stored in a variable within the JS file that also contains all the website's logic.
To clarify, my goal is not to hide the API key from the git repo, but rather from the JS file after deploying it to Netlify.
Is it even possible to achieve this on Netlify?