Skip to content

copyTemplate

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/site-gen-core/src/assembler/copy.ts

Copy the entire site-bootstrap template to outputDir, excluding node_modules and other non-essential files.

Signature

ts
async function copyTemplate(templateDir: string, outputDir: string): Promise<void>

Parameters

NameType
templateDirstring
outputDirstring

Returns: Promise<void>

Was this page helpful?

Download as PDF