Description
🙋 feature request!
First thing first: Thanks for the nice work ! 👍
I have a use case where an anchor tag redirects to an external URL based on the environment (localhost:3333
if in DEV for instance and https://whatever.com
in PROD).
Therefore, it would be really convenient to be able to use the environment variables directly inside the index.html
without going through any javascript code.
Just like this : <a href=%MY_ENV_VARIABLE%>Ok</a>
The %
are used randomly just to show some kind of formatting to handle ENV variables at build time.
Maybe I have missed something but I was not able to find any kind of documentation or issues (open or close) dealing with this kind of things. Maybe I'm totally missing something but with this type of use cases, this feature would be very convenient.