Skip to content
On this page

buildIncremental()

Builds an incremental update.

If the version.json was built before, this function will also write the latest version info to it.

WARNING

Make sure your project is in a Git repository. You might refer to Incremental Update.

Arguments

NameRequiredTypeDefault ValueNote
configYESHerinaConfig//

Returns

Returns the location of the output file.

typescript
Promise<string>

Example

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

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

const filePath = buildIncremental(config);

Released under the MIT License.