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

Commit

Permalink
馃摎 describe env vars available to build
Browse files Browse the repository at this point in the history
  • Loading branch information
mars committed Sep 7, 2018
1 parent ec9b2c5 commit e04470c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -499,7 +499,8 @@ This buildpack combines several buildpacks, specified in [`.buildpacks`](.buildp
* but forces `NODE_ENV=production` to be `development` to ensure dev dependencies are available for build
2. [`mars/create-react-app-inner-buildpack`](https://github.com/mars/create-react-app-inner-buildpack)
* production build for create-react-app
* executes the package's build script; create-react-app default is `react-scripts build`
* executes the npm package's build script; create-react-app default is `react-scripts build`
* exposes `REACT_APP_`, `NODE_`, & `NPM_` prefixed env vars to the build script
* generates a production bundle regardless of `NODE_ENV` setting
* sets default [web server config](#user-content-web-server) unless `static.json` already exists
* enables [runtime environment variables](#user-content-environment-variables)
Expand Down

0 comments on commit e04470c

Please sign in to comment.