Releases: mars/create-react-app-inner-buildpack
Node.js auto build
Drops the npm run build
step from this buildpack, because build is now automatically run by Heroku's Node.js buildpack, which is an integral part of the parent create-react-app-buildpack.
👓 See more details in the main buildpack's pull request.
Default Routing
Configure the web-server to route all not-found requests to the client-side app index.html
.
Split Bundles
Process all bundle files for compatibility with create-react-app version 2's split bundles.
Dyno Metadata
Support for using dyno metadata during npm run build
.
Custom bundle UX
Improve user-experience when there's a problem with the custom bundle path.
Custom bundle
Support for runtime environment variables in a bundle generated at a custom path. Usage:
heroku config:set JS_RUNTIME_TARGET_BUNDLE=/app/my/custom/path/js/main.*.js
npm Private Modules
Support npm Private Modules during build via NPM_TOKEN
env var.
Preserve Source Maps
Runtime environment variables no longer skew source maps in production. Supports up to 4KB of env var JSON; excess of 4KB will offset the source map.
If already using runtime env vars, upgrade to @mars/heroku-js-runtime-env v3.0.0 for this fix.
Runtime Env
Support for runtime environment variables.
Nodeworthy
Support NODE_PATH
(and other NODE_*
env variables) during build.