mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Fine-tune turbo.json config to improve cache hits (#10377)
* play with turbo configuration * tmp: random change, let's test caches * remove unnecessary inputs Inputs are implicit via the `"dependsOn": ["//#build"],` * use `inputs` instead of `outputs` for `//#style` * Revert "tmp: random change, let's test caches" This reverts commit 77e9be6dc41bc432bee7589f77d8b9fc02369e2a. * remove empty `outputs` configs
This commit is contained in:
parent
371b6ea83d
commit
e17855b4d4
10
turbo.json
10
turbo.json
@ -2,18 +2,20 @@
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"pipeline": {
|
||||
"//#build": {
|
||||
"outputs": ["lib/**", "peers/**", "types/generated/**"]
|
||||
"outputs": ["lib/**", "peers/**", "types/generated/**"],
|
||||
"inputs": ["src/**", "oxide/**", "nesting/**", "oxide-node-api-shim/**", "types/**"]
|
||||
},
|
||||
"test": {
|
||||
"env": ["OXIDE"],
|
||||
"outputs": []
|
||||
"dependsOn": ["//#build"]
|
||||
},
|
||||
"//#test": {
|
||||
"env": ["OXIDE"],
|
||||
"outputs": []
|
||||
"dependsOn": ["//#build"],
|
||||
"inputs": ["tests/**"]
|
||||
},
|
||||
"//#style": {
|
||||
"outputs": []
|
||||
"inputs": ["**/*.js", "**/*.ts"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user