Skip to content

Commit 9f504cc

Browse files
authored
[OSO-1006] change build scripts to avoid building twice (#5485)
* chore(frontend): change build scripts to avoid building twice Need to change vercel command for this to work * chore(frontend): overwrite the deploy script in turbo for the frontend package instead
1 parent 59e8c87 commit 9f504cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

turbo.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
"env": ["PLASMIC_PROJECT_ID", "PLASMIC_PROJECT_API_TOKEN"],
2626
"cache": false
2727
},
28+
"@opensource-observer/frontend#deploy": {
29+
"dependsOn": ["^build"],
30+
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
31+
},
2832
"@opensource-observer/hasura-clickhouse#sync": {}
2933
}
3034
}

0 commit comments

Comments
 (0)