Skip to content

Commit 5526bcc

Browse files
committed
build: add outputs configuration for build tasks in nx.json
1 parent aa1e6b5 commit 5526bcc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

nx.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,36 @@
66
"build": {
77
"dependsOn": [
88
"^build"
9+
],
10+
"outputs": [
11+
"{projectRoot}/dist"
912
]
1013
},
1114
"build:ci": {
1215
"dependsOn": [
1316
"^build:ci"
17+
],
18+
"outputs": [
19+
"{projectRoot}/dist"
1420
]
1521
},
1622
"prepare": {
1723
"dependsOn": [
1824
"^build",
1925
"^prepare"
26+
],
27+
"outputs": [
28+
"{projectRoot}/dist"
2029
]
2130
},
2231
"package": {
2332
"dependsOn": [
2433
"^build",
2534
"^prepare",
2635
"^package"
36+
],
37+
"outputs": [
38+
"{projectRoot}/dist"
2739
]
2840
}
2941
},

0 commit comments

Comments
 (0)