From 81b9b4483b80c6911d1e23aeaa492dcbbddebe12 Mon Sep 17 00:00:00 2001 From: Iku-turso Date: Fri, 2 Jun 2023 11:54:17 +0300 Subject: [PATCH] chore: Make switching between prod and dev invalidate build cache Co-authored-by: Janne Savolainen Signed-off-by: Mikko Aspiala Signed-off-by: Iku-turso --- nx.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nx.json b/nx.json index 03e6ce7564..c1177d8fa0 100644 --- a/nx.json +++ b/nx.json @@ -24,7 +24,11 @@ ], "inputs": [ - "productionFiles" + "productionFiles", + + { + "env": "NODE_ENV" + } ] }, "build:app": {