Releases: mars/create-react-app-buildpack
Deprecation experience 🌅
End of life 🌅
Tagging a final release before archiving.
Node.js auto build
Adapts this buildpack for the change to automatically run the package.json
build script in the official Node.js buildpack.
Changes are:
- the Node buildpack executes
npm run build
automatically (this buildpack no longer runs the build) - the Node buildpack installs
devDependencies
for auto build (and afterwards it prunes them), so a confusingNODE_ENV
workaround has been removed - the Node buildpack makes all config vars available during auto build, so compile-time configuration has access to all config vars.
See #156
Default Routing
Configure the web server to route all not-found requests to the client-side app index.html
.
See the new Routing section of README.
Split Bundles
Runtime env vars are now compatible with create-react-app version 2's split bundles.
Not quite yet, CRA 2.0
📚 Documentation-only release
create-react-app v2 was released, but this buildpack doesn't fully support it yet (#131).
Dyno Metadata
Support for using dyno metadata during npm run build
.
Doc updates
Update README with latest release tag (#126) Update README with latest release tag
Custom Bundle Location
Support for runtime environment variables in a bundle generated at a custom path. See JS_RUNTIME_TARGET_BUNDLE
config.
npm Private Packages
Support for npm Private Packages via NPM_TOKEN
config var & .npmrc config file.
This is a major version (semver) because all NPM_
-prefixed environment variables are now exported for the build process.