nb source build

构建本地 NocoBase 源码工程。该命令会在仓库根目录转发执行旧的 NocoBase build 流程。

用法

nb source build [packages...] [flags]

参数

参数类型说明
[packages...]string[]要构建的包名,省略时构建全部
--cwd, -cstring工作目录
--no-dtsboolean不生成 .d.ts 声明文件
--sourcemapboolean生成 sourcemap
--verboseboolean显示详细命令输出

示例

nb source build
nb source build --no-dts
nb source build --sourcemap
nb source build @nocobase/acl
nb source build @nocobase/acl @nocobase/actions

相关命令