Skip to content

Commit c761aba

Browse files
authored
chore: restore gen docs command (#8000)
1 parent eeb395f commit c761aba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"check-dependencies": "node ./scripts/check-dependencies.js",
4141
"update-rspress": "npx taze major --include /rspress/ -w -r -l",
4242
"update-rsbuild": "npx taze major --include /rsbuild/ -w -r -l",
43-
"build:docs": "pnpm --filter @modern-js/main-doc... build"
43+
"gen:docs": "rm -rf doc_output && mkdir doc_output && cp -r ./packages/document/doc_build/* ./doc_output",
44+
"build:docs": "pnpm --filter @modern-js/main-doc... build && npm run gen:docs"
4445
},
4546
"engines": {
4647
"node": ">=20",

0 commit comments

Comments
 (0)