Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from build-time ENV vars to run-time ENV vars #136

Open
brendoncaulkins opened this issue Sep 27, 2019 · 0 comments
Open

Switch from build-time ENV vars to run-time ENV vars #136

brendoncaulkins opened this issue Sep 27, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@brendoncaulkins
Copy link
Contributor

This means ditching the environments folder that comes baked into Angular, and instead importing a .js file into index.html in a script tag, so it's bootstrapped. That allows us to inject variables into the window, and reference them globally.

Anytime that .js file is updated, the changes will take effect on the next reload, rather than requiring a complete rebuild of the app.

@brendoncaulkins brendoncaulkins added the enhancement New feature or request label Sep 27, 2019
@brendoncaulkins brendoncaulkins added this to the Version 3 milestone Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant