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-tursoandJanne Savolainen committed 2023-06-02 11:52:32 +03:00
1 parent cd8f7a23e3
commit f00768c7d2
1 file changed
+12
+12
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": {