Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Pass environment variables to the frontend. #269

Open
2 tasks done
wbprice opened this issue Oct 28, 2016 · 1 comment
Open
2 tasks done

Pass environment variables to the frontend. #269

wbprice opened this issue Oct 28, 2016 · 1 comment

Comments

@wbprice
Copy link
Member

wbprice commented Oct 28, 2016

Webpack can be configured to pass environment variables to the frontend during the build process.
http://stackoverflow.com/questions/30030031/passing-environment-dependent-variables-in-webpack

Should be used to pass:

  • NODE_ENV
  • GOOGLE_ANALYTICS
@wbprice
Copy link
Member Author

wbprice commented Oct 28, 2016

Working in staging.
screen shot 2016-10-28 at 10 59 03 am

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

No branches or pull requests

1 participant