From 8bca8f76a6142aeafc35110bf7ebe12fc3f345c0 Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Thu, 20 Feb 2020 15:08:56 +0000 Subject: [PATCH] Add note about Heroku setup --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 617d718c..7f723f8a 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,10 @@ need to repeat the setup process for the child package. Also make sure you're in the child package directory when you run `patch-package` to generate the patch files. +### Heroku + +For `patch-package` to work on Heroku applications, you must specify [`NPM_CONFIG_PRODUCTION=false` or `YARN_PRODUCTION=false`](https://devcenter.heroku.com/articles/nodejs-support#package-installation). See [this issue](https://github.com/ds300/patch-package/issues/130) for more details. + ### Docker and CI - If having errors about working directory ("cannot run in wd [...]") when