Skip to content

SOURCE_CONDITION

The export condition a repository holding several packages maps every subpath onto its TypeScript source with, so a package there can import a sibling package’s source before anything is built. Pass it to generateLibraryExports through GenerateLibraryExportsOptions.sourceCondition.

Import:

import { SOURCE_CONDITION } from '@mnaoumov/typescript-dev-toolkit/library-build';

Signature:

const SOURCE_CONDITION: "@mnaoumov/source"

Type: “@mnaoumov/source”