Skip to content

Commit c6900e4

Browse files
committed
build: run gen before site build
1 parent 006e411 commit c6900e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"build:site": {
2626
"cache": true,
27-
"dependsOn": ["^build"],
27+
"dependsOn": ["^build", "^gen"],
2828
"outputs": [
2929
"{projectRoot}/dist",
3030
"{projectRoot}/.next",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"dev:docs": "nx run docs:dev",
4343
"build": "nx run-many --target=build",
4444
"build:clean": "pnpm run clean && pnpm run gen && pnpm run clean && pnpm run build",
45-
"build:site": "pnpm run gen && nx run-many --target=build:site",
45+
"build:site": "nx run-many --target=build:site",
4646
"clean": "nx run-many --target=clean",
4747
"deploy": "nx release --skip-publish",
4848
"gen": "nx run @blocknote/dev-scripts:gen",

0 commit comments

Comments
 (0)