Skip to content

Commit bce59c0

Browse files
committed
build: exclude dist in project dir from default cache inputs
1 parent 73adaaf commit bce59c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nx.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@
5151
}
5252
},
5353
"namedInputs": {
54-
"default": ["{projectRoot}/**/*", "sharedGlobals"],
54+
"default": [
55+
"{projectRoot}/**/*",
56+
"sharedGlobals",
57+
"!{projectRoot}/dist/**/*"
58+
],
5559
"production": [
5660
"default",
5761
"!{projectRoot}/eslint.config.?(c)js",

0 commit comments

Comments
 (0)