Added default build output folders to Nx config

refs https://ghost.slack.com/archives/C0568LN2CGJ/p1702302128529339

- Nx doesn't know the what the output of these apps is, so it can't restore
  the cache
- this adds the 3 folders which we use to output the build assets
This commit is contained in:
Daniel Lockyer 2023-12-11 14:54:35 +01:00 committed by Daniel Lockyer
parent 8ab693d74d
commit 1f0d874ea2

View File

@ -22,6 +22,13 @@
]
},
"targetDefaults": {
"build": {
"outputs": [
"{projectRoot}/dist",
"{projectRoot}/es",
"{projectRoot}/umd"
]
},
"build:ts": {
"dependsOn": [
"^build:ts"