From f1c678e5c46d0fc96f3a72d80c390f501f75b2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Tue, 18 Oct 2022 21:35:50 +0200 Subject: [PATCH] fix: tell heroku to not build in production mode --- app.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.json b/app.json index 67ad0584da..3c0f40b02c 100644 --- a/app.json +++ b/app.json @@ -4,6 +4,10 @@ "repository": "https://github.com/heroku/node-js-sample", "logo": "https://github.com/Unleash/unleash/blob/main/.github/logo.png?raw=true", "keywords": ["node", "feature toggles", "release"], + "env": { + "NPM_CONFIG_PRODUCTION": "false", + "YARN_PRODUCTION": "false" + }, "addons": [ { "plan": "heroku-postgresql",