preprocessor
Installation
SKILL.md
envprocessor - expose env vars to frontend
What it does
Generates window.process.env object from selected env vars. Built at runtime (not build time), so values reflect target environment (prod/dev/staging).
Generated file: public/preprocessed.js (loaded before bundled code in HTML).
Just make sure loading is done like this
<script src="/public/preprocessed.js"></script>
just before loading bundled code on to the page.