Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 5472f8d

Browse files
authored
📚 clarify NODE_ENV & other architecture details, pt 2
1 parent 6b6a152 commit 5472f8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ This buildpack combines several buildpacks, specified in [`.buildpacks`](.buildp
463463
* `node_modules/` cached between deployments
464464
* `NODE_ENV` at buildtime:
465465
* defaults to `NODE_ENV=development` to install the build tooling of create-react-app's dev dependencies, like `react-scripts`
466-
* honors specific setting of `NODE_ENV`, like `NODE_ENV=test` for [automated testing](#user-content-testing) in [`bin/test`](bin/test)
466+
* honors specific setting of `NODE_ENV`, like `NODE_ENV=test` for [automated testing](#user-content-testing) in [`bin/test`](bin/test-compile)
467467
* but forces `NODE_ENV=production` to be `development` to ensure dev dependencies are available for build
468468
2. [`mars/create-react-app-inner-buildpack`](https://github.com/mars/create-react-app-inner-buildpack)
469469
* production build for create-react-app
@@ -473,7 +473,7 @@ This buildpack combines several buildpacks, specified in [`.buildpacks`](.buildp
473473
* enables [runtime environment variables](#user-content-environment-variables)
474474
3. [`heroku/static` buildpack](https://github.com/heroku/heroku-buildpack-static)
475475
* [Nginx](http://nginx.org/en/) web server
476-
* [configure with `static.json`](#user-content-web-server) (see [config static web server](https://github.com/heroku/heroku-buildpack-static#user-content-configuration)
476+
* [configure with `static.json`](#user-content-web-server) (see also [all static web server config](https://github.com/heroku/heroku-buildpack-static#user-content-configuration))
477477

478478
🚀 The runtime `web` process is the [last buildpack](https://github.com/mars/create-react-app-buildpack/blob/master/.buildpacks)'s default processes. heroku-buildpack-static uses [`bin/boot`](https://github.com/heroku/heroku-buildpack-static/blob/master/bin/release) to launch its Nginx web server. Processes may be customized by committing a [Procfile](#user-content-procfile) to the app.
479479

0 commit comments

Comments
 (0)