Configured outputs for Admin build step

ref https://linear.app/tryghost/issue/DEV-20/faster-builds

- by doing this, we can tell Nx which files should be restored when the
  cache is restored
This commit is contained in:
Daniel Lockyer 2024-09-11 14:04:55 +02:00 committed by Daniel Lockyer
parent 66cb1aee72
commit 2a39053962

View File

@ -193,6 +193,10 @@
]
},
"build": {
"outputs": [
"{projectRoot}/dist",
"{workspaceRoot}/ghost/core/core/built/admin"
],
"dependsOn": [
"build",
{
@ -207,4 +211,4 @@
}
}
}
}
}