Skip to main content

writeApplicationPackage

@webda/core


Function: writeApplicationPackage()

writeApplicationPackage(pkg, output): void

Defined in: packages/core/src/deployers/packager.ts:345

Write a packaged application into a folder

The folder is created if needed and must be empty: a previous package is never overwritten.

Parameters​

pkg​

ApplicationPackage

the package from packageApplication

output​

string

the target folder

Returns​

void

Throws​

CodeError PACKAGE_OUTPUT_NOT_EMPTY if the folder already contains files