# @modern-js/main-doc

## 2.22.0

### Minor Changes

- 7d1b96e: feat(changeset): optimize release note display

  feat(changeset): 优化生成 Release Note 文案

### Patch Changes

- 3c3d1e2: docs: update project creation and new command text.

  docs: 更新生成器创建项目和 new 命令文案。

- Updated dependencies [850cde6]
- Updated dependencies [e7a5f94]
  - @modern-js/builder-doc@2.22.0

## 2.21.1

### Patch Changes

- @modern-js/builder-doc@2.21.1

## 2.21.0

### Patch Changes

- 26dcf3a: chore: bump typescript to v5 in devDependencies

  chore: 升级 devDependencies 中的 typescript 版本到 v5

- Updated dependencies [1ef03dc]
  - @modern-js/builder-doc@2.21.0

## 2.20.0

### Patch Changes

- 3c4e0a5: chore(utils): move generateMetaTags method to builder-shared

  chore(utils): 移动 generateMetaTags 方法到 builder-shared

- 0ce52ad: docs(main): optimize mobile adaptation

  docs(main): 优化移动端适配

  - @modern-js/builder-doc@2.20.0

## 2.19.1

### Patch Changes

- @modern-js/builder-doc@2.19.1

## 2.19.0

### Patch Changes

- @modern-js/builder-doc@2.19.0

## 2.18.1

### Patch Changes

- 21c87bf: feat: bump codesmith packages version

  feat: 升级 codesmith 包版本

  - @modern-js/builder-doc@2.18.1

## 2.18.0

### Patch Changes

- d0a9bf8: chore: improve entry docs, fix ssg docs
  chore: 优化入口文档，修复 ssg 文档
  - @modern-js/builder-doc@2.18.0

## 2.17.1

### Patch Changes

- fc76194: chore: comment the doc for runtime and server plugin hooks
  chore: 注释 runtime 和 server 插件钩子文档
- 7d899fb: fix: typo isFileExist

  fix: isFileExist 拼写错误

  - @modern-js/builder-doc@2.17.1

## 2.17.0

### Patch Changes

- @modern-js/builder-doc@2.17.0

## 2.16.0

### Patch Changes

- 63b3538: fix: dev server crashed when prepare api handler failed

  fix: 修复更新 api server 报错导致 dev server 退出的问题

- fe92de6: fix(builder): browserslist config should not affect node bundles

  fix(builder): 修复 browserslist 配置会对 node 产物生效的问题

- 4e876ab: chore: package.json include the monorepo-relative directory

  chore: 在 package.json 中声明 monorepo 的子路径

- Updated dependencies [fe92de6]
- Updated dependencies [4e876ab]
  - @modern-js/builder-doc@2.16.0

## 2.15.0

### Patch Changes

- @modern-js/builder-doc@2.15.0

## 2.14.0

### Patch Changes

- 60a81d0: feat: add ssr.inlineScript for use inline json instead inline script when ssr
  feat: 添加 ssr.inlineScript 用于在 ssr 模式下使用内联 json 而不是内联脚本
- 432ac8b: chore(cli): improve commands descriptions

  chore(cli): 优化命令的描述文案

- de84d94: feat: add optional dynamic routes docs
  feat: 添加可选动态路由文档
- Updated dependencies [fefd1c5]
- Updated dependencies [1f34dba]
- Updated dependencies [b965df2]
  - @modern-js/builder-doc@2.14.0

## 2.13.4

### Patch Changes

- @modern-js/builder-doc@2.13.4

## 2.13.3

### Patch Changes

- Updated dependencies [28583e8]
  - @modern-js/builder-doc@2.13.3

## 2.13.2

### Patch Changes

- @modern-js/builder-doc@2.13.2

## 2.13.1

### Patch Changes

- @modern-js/builder-doc@2.13.1

## 2.13.0

### Patch Changes

- e91ec97: feat(app-tools): export mergeConfig function

  feat(app-tools): 导出 mergeConfig 函数

- 42700c1: chore: improve ssr docs, add more use case for node/web code split
  chore: 优化 ssr 文档，为 node/web 代码分割添加更多使用场景
- Updated dependencies [1feacdc]
- Updated dependencies [348306d]
- Updated dependencies [42700c1]
  - @modern-js/builder-doc@2.13.0

## 2.12.0

### Patch Changes

- 9e5044d: doc: 修正文档中使用@edenx/runtime 的部分
  doc: Correct the sections in the document that use @edenx/runtime.
- 9328fb9: feat: prebundle theme

  feat: 预打包主题

  - @modern-js/builder-doc@2.12.0

## 2.11.0

### Patch Changes

- a8c08c3: feat: 添加 `source.transformImoprt`

  feat: add `source.transformImoprt`

- 304c950: fix: translate some chinese to english in en docs
  fix: 将部分英文文档中的中文翻译为英文
- Updated dependencies [a8c08c3]
- Updated dependencies [b71cef1]
  - @modern-js/builder-doc@2.11.0

## 2.10.0

### Patch Changes

- 92d247f: fix: support tools.devServer.header include string[] type, remove get & delete & apply api in hook or middleware api
  fix: 支持 tools.devServer.header 包含字符串数组类型，移除 Hook 和 Middleware 中对 响应 Cookie 的获取、删除操作
- 19e552a: fix: main doc theme

  fix: 首页深色模式问题

- Updated dependencies [cfdbf80]
  - @modern-js/builder-doc@2.10.0

## 2.9.0

### Patch Changes

- 7035d5c22f: fix: doc info block not work

  fix: 修复文档站 info 不生效问题

  - @modern-js/builder-doc@2.9.0

## 2.8.0

### Patch Changes

- ea7bb41e30: feat: add custom web server docs
  feat: 添加自定义 Web Server 文档
- 1104a9f18b: feat: support start web service only
  feat: 支持只启动 web 服务
- bd58566b32: Fix Typo

  修复 Typo

- Updated dependencies [9736c6a43d]
- Updated dependencies [2c1151271d]
  - @modern-js/builder-doc@2.8.0
