Skip to content

GenerateLibraryExportsOptions.additionalExports?

GenerateLibraryExportsOptions › additionalExports?

Type: Readonly<Record<string, PackageJson.Exports>> | undefined

Entries for files that are not built from a source folder (a folder of shared tsconfig presets, ambient .d.ts files), keyed by subpath. They go into the map after the generated entries, as given, and count toward its change check; no subpath stub is written for them. A key a source folder already generates throws.