Skip to content

Commit e93b4b4

Browse files
authored
Merge pull request #209 from OliverJAsh/patch-1
Add note about Heroku setup
2 parents a99fe0f + 8bca8f7 commit e93b4b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ need to repeat the setup process for the child package. Also make sure you're in
5959
the child package directory when you run `patch-package` to generate the patch
6060
files.
6161

62+
### Heroku
63+
64+
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.
65+
6266
### Docker and CI
6367

6468
- If having errors about working directory ("cannot run in wd [...]") when

0 commit comments

Comments
 (0)