UNPKG

nexe

Version:

Create a single executable out of your Node.js application

12 lines (11 loc) 617 B
import { NexeCompiler } from '../compiler'; /** * The artifacts step is where source patches are committed, or written as "artifacts" * Steps: * - A temporary directory is created in the downloaded source * - On start, any files in that directory are restored into the source tree * - After the patch functions have run, the temporary directory is emptied * - Original versions of sources to be patched are written to the temporary directory * - Finally, The patched files are written into source. */ export default function artifacts(compiler: NexeCompiler, next: () => Promise<void>): Promise<void[]>;