Skip to content
On this page

buildUpdate()

构建更新。

参数

参数名必填类型默认值备注
configYESHerinaConfig//

返回值

typescript
Promise<Record<string, ChunkAsset[]>>;
typescript
interface ChunkAsset {
  filename: string;
  code: string;
  path: string;
}

代码示例

typescript
import {build, defineHerinaConfig} from '@herina-rn/core';

const config = defineHerinaConfig({ ... });

build(config);

Released under the MIT License.