1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

chore: Make only changes in production files invalidate build caches

Currently production files means other files than tests and .md -files.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-turso 2023-06-02 11:51:15 +03:00
parent cd8f7a23e3
commit f00768c7d2

12
nx.json
View File

@ -9,10 +9,22 @@
}
}
},
"namedInputs": {
"productionFiles": [
"default",
"!{projectRoot}/**/*.test.ts",
"!{projectRoot}/**/*.test.tsx",
"!{projectRoot}/**/*.md"
]
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"productionFiles"
]
},
"build:app": {