Skip to content

copySections

reference
1 min readUpdated

Kind: Function

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

Copy selected section .tsx files and their shared component dependencies to the output directory.

Signature

ts
async function copySections(resolvedSections: ManifestSection[], componentLibraryDir: string, outputDir: string): Promise<string[]>

Parameters

NameType
resolvedSectionsManifestSection[]
componentLibraryDirstring
outputDirstring

Returns: Promise<string[]>

Was this page helpful?

Download as PDF