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:
parent
cd8f7a23e3
commit
f00768c7d2
12
nx.json
12
nx.json
@ -9,10 +9,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"namedInputs": {
|
||||||
|
"productionFiles": [
|
||||||
|
"default",
|
||||||
|
"!{projectRoot}/**/*.test.ts",
|
||||||
|
"!{projectRoot}/**/*.test.tsx",
|
||||||
|
"!{projectRoot}/**/*.md"
|
||||||
|
]
|
||||||
|
},
|
||||||
"targetDefaults": {
|
"targetDefaults": {
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build"
|
"^build"
|
||||||
|
],
|
||||||
|
|
||||||
|
"inputs": [
|
||||||
|
"productionFiles"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"build:app": {
|
"build:app": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user