Skip to content

Commit

Permalink
Remove global dep from basic example. (#8442)
Browse files Browse the repository at this point in the history
### Description

Improve handling of `.env`s in `basic` example.
  • Loading branch information
anthonyshew committed Jun 11, 2024
1 parent 6444547 commit 2e8b69a
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions examples/basic/turbo.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [
"**/.env.*local"
],
"tasks": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
".next/**",
"!.next/cache/**"
]
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env", ".env.*"],
"outputs": [".next/**", "!.next/cache/**"]
},
"lint": {
"dependsOn": [
"^lint"
]
"dependsOn": ["^lint"]
},
"dev": {
"cache": false,
Expand Down

0 comments on commit 2e8b69a

Please sign in to comment.