JakeSidSmith / tsb

Dead simple TypeScript bundler, watcher, dev server, transpiler, and polyfiller
MIT License
3 stars 0 forks source link

Html template env variables #27

Closed JakeSidSmith closed 3 years ago

JakeSidSmith commented 3 years ago

Allow defining an indexHTMLEnv object of variables to expose to the index.html template, accessed with <%= exmaple %> syntax.

This includes manually collecting env vars from the process.env/.env that were defined in the indexHTMLEnv.