Skip to content

Commit

Permalink
Update deployment.md
Browse files Browse the repository at this point in the history
修改 build 拼写错误
  • Loading branch information
nobu121 authored and waitingsong committed Feb 26, 2025
1 parent 3ab4b11 commit 12ec047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ Bootstrap.configure({
包含三个部分
- `bundle` 是将所有的项目代码以组件的形式导出,并生成一个 `src/index.ts` 文件,该命令是 `@midwayjs/bundle-helper` 提供的
- `npm run buid` 是基础的 ts 项目构建,将 `src/**/*.ts` 构建为 `dist/**/*.js`
- `npm run build` 是基础的 ts 项目构建,将 `src/**/*.ts` 构建为 `dist/**/*.js`
- `ncc build bootstrap.js -o build``bootstrap.js` 为入口构建为一个单文件,最终生成到 `build/index.js`
Expand Down

0 comments on commit 12ec047

Please sign in to comment.