Skip to content

Commit

Permalink
Support for using dyno metadata during build (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
mars authored Sep 23, 2018
1 parent cf3d4ee commit 21a705a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ cp "$BP_DIR/.profile.d/inject_react_app_env.sh" "$profile_d_dir/"
# * https://github.com/facebookincubator/create-react-app/pull/476
# * `NPM_*`, especially for `NPM_TOKEN`
# * https://docs.npmjs.com/private-modules/ci-server-config
export_env_dir "$ENV_DIR" '^(REACT_APP_|NODE_|NPM_)'
# * `HEROKU_*`, especially for Dyno Metadata
# * https://devcenter.heroku.com/articles/dyno-metadata
export_env_dir "$ENV_DIR" '^(REACT_APP_|NODE_|NPM_|HEROKU_)'

# Build the javascript bundle
npm run build

0 comments on commit 21a705a

Please sign in to comment.