Skip to content

Commit 21a705a

Browse files
authored
Support for using dyno metadata during build (#13)
1 parent cf3d4ee commit 21a705a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/compile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ cp "$BP_DIR/.profile.d/inject_react_app_env.sh" "$profile_d_dir/"
5656
# * https://github.com/facebookincubator/create-react-app/pull/476
5757
# * `NPM_*`, especially for `NPM_TOKEN`
5858
# * https://docs.npmjs.com/private-modules/ci-server-config
59-
export_env_dir "$ENV_DIR" '^(REACT_APP_|NODE_|NPM_)'
59+
# * `HEROKU_*`, especially for Dyno Metadata
60+
# * https://devcenter.heroku.com/articles/dyno-metadata
61+
export_env_dir "$ENV_DIR" '^(REACT_APP_|NODE_|NPM_|HEROKU_)'
6062

6163
# Build the javascript bundle
6264
npm run build

0 commit comments

Comments
 (0)