⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps
Output ? warning message to build log, and pin static site buildpack to avoid its own deprecation warning.
Tagging a final release before archiving.
Adapts this buildpack for the change to automatically run the package.json
build script in the official Node.js buildpack.
Changes are:
npm run build
automatically (this buildpack no longer runs the build)devDependencies
for auto build (and afterwards it prunes them), so a confusing NODE_ENV
workaround has been removedSee #156
Configure the web server to route all not-found requests to the client-side app index.html
.
See the new Routing section of README.
Runtime env vars are now compatible with create-react-app version 2's split bundles.
? Documentation-only release
create-react-app v2 was released, but this buildpack doesn't fully support it yet (#131).
Support for using dyno metadata during npm run build
.
Support for runtime environment variables in a bundle generated at a custom path. See JS_RUNTIME_TARGET_BUNDLE
config.
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.