cd scripts && echo -e "const API_KEY = 'blahblahblah'; const HASH_KEY = 'blahblahblah'; const TIME_STAMP = 'ts=1'; const URL_ENDPOINT='blahblahblah';\n\nexport API_KEY, HASH_KEY, TIME_STAMP, URL_ENDPOINT;" > apikey.js
That is what I put into Netlify’s deploy settings.
When I go to the deployed site, I get
"Uncaught syntax error: unexpected token export".
The file is made correctly in the sources tab of the console. I’m at a loss for what I’ve done incorrectly, or what Netlify isn’t interpreting correctly.