Build: Set Nx inputs for theme-generate (#84761)

build(nx): set inputs for theme-generate to reduce reruns of task
This commit is contained in:
Jack Westbrook 2024-05-22 17:07:50 +02:00 committed by GitHub
parent 8b02b6b76a
commit 10f600a6e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,11 @@
"cache": true "cache": true
}, },
"themes-generate": { "themes-generate": {
"inputs": [
"{workspaceRoot}/scripts/cli/generateSassVariableFiles.ts",
"{workspaceRoot}/packages/grafana-data/src/themes/**",
"{workspaceRoot}/packages/grafana-ui/src/themes/**"
],
"outputs": [ "outputs": [
"{workspaceRoot}/public/sass/_variables.generated.scss", "{workspaceRoot}/public/sass/_variables.generated.scss",
"{workspaceRoot}/public/sass/_variables.dark.generated.scss", "{workspaceRoot}/public/sass/_variables.dark.generated.scss",