From 12ec047619aa989abe4b8ff6714875eb9ed3df6c Mon Sep 17 00:00:00 2001 From: nobu121 <78128836+nobu121@users.noreply.github.com> Date: Wed, 26 Feb 2025 17:08:17 +0800 Subject: [PATCH] Update deployment.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改 build 拼写错误 --- site/docs/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/deployment.md b/site/docs/deployment.md index 119a971c45c7..7d1433199fa2 100644 --- a/site/docs/deployment.md +++ b/site/docs/deployment.md @@ -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`