Skip to content

Commit

Permalink
docs: refactor builder config doc (#6182)
Browse files Browse the repository at this point in the history
Co-authored-by: keepview <[email protected]>
  • Loading branch information
caohuilin and keepview authored Sep 13, 2024
1 parent cf8ab12 commit fe36e63
Show file tree
Hide file tree
Showing 576 changed files with 8,883 additions and 17,001 deletions.
7 changes: 7 additions & 0 deletions .changeset/fast-cups-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/main-doc': patch
---

docs: refactor builder config doc

docs: 重构 builder 配置文档
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"update-codesmith": "cd ./scripts/update-codesmith && pnpm start",
"update-rspress": "npx taze major --include /rspress/ -w -r -l",
"update-rsbuild": "npx taze major --include /rsbuild/ -w -r -l",
"build:main_docs": "pnpm --filter @modern-js/main-doc... build && pnpm --filter @modern-js/main-doc build:doc",
"build:module_docs": "pnpm --filter @modern-js/module-tools-docs... build && pnpm --filter @modern-js/module-tools-docs build:doc",
"build:main_docs": "pnpm --filter @modern-js/main-doc... build && pnpm --filter @modern-js/main-doc build",
"build:module_docs": "pnpm --filter @modern-js/module-tools-docs... build && pnpm --filter @modern-js/module-tools-docs build",
"gen:docs": "rm -rf doc_output && mkdir doc_output && cp -r ./packages/document/main-doc/doc_build/* ./doc_output && cp -r ./packages/document/module-doc/doc_build/ ./doc_output/module-tools",
"build:docs": "pnpm run build:main_docs && pnpm run build:module_docs && pnpm run gen:docs"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/uni-builder/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,8 @@ export type UniBuilderExtraConfig = {
};
output?: {
/**
* Whether to disable code minification in production build.
* @deprecated use `output.minify` instead
*/
// TODO: support output.minify configuration
disableMinimize?: boolean;
/**
* @deprecated use `output.filenameHash` instead
Expand Down
29 changes: 0 additions & 29 deletions packages/document/builder-doc/.npmignore

This file was deleted.

Loading

0 comments on commit fe36e63

Please sign in to comment.