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

Env variables #1

Merged
merged 2 commits into from
Nov 10, 2017
Merged

Conversation

Maxim-Filimonov
Copy link

Apparently Babel doesn't do what we wanted found the solution web Webpack define plugin instead.

This works tested on local machine

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 2cbbfdb on Maxim-Filimonov:env_variables into ** on sretundijr:master**.

@sretundijr sretundijr merged commit 43e1204 into sretundijr:master Nov 10, 2017
@Maxim-Filimonov Maxim-Filimonov deleted the env_variables branch November 10, 2017 05:21
sretundijr added a commit that referenced this pull request Nov 10, 2017
This reverts commit 43e1204, reversing
changes made to 936c305.
@JonAbrams
Copy link

JonAbrams commented Nov 17, 2017

Careful with this solution. It bakes in the env vars at build time, not run-time. Apps may be built on different machines than the one they launch on. A common example is a Heroku pipeline. I've seen apps built for staging, then "promoted" to production with staging variables baked into the app.

@Maxim-Filimonov
Copy link
Author

@JonAbrams what are you proposals for static application hosted on Netlify ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants