Interface: ExportsOptions
Defined in: types.ts:65
Properties
all?
optional
all:boolean
Defined in: types.ts:76
Exports for all files.
customExports()?
optional
customExports: (exports
,context
) =>Awaitable
<Record
<string
,any
>>
Defined in: types.ts:78
Parameters
exports
Record
<string
, any
>
context
chunks
TsdownChunks
isPublish
boolean
outDir
string
pkg
PackageJson
Returns
Awaitable
<Record
<string
, any
>>
devExports?
optional
devExports:string
|boolean
Defined in: types.ts:71
Generate exports that link to source code during development.
- string: add as a custom condition.
- true: all conditions point to source files, and add dist exports to
publishConfig
.