Constructs project export entry of the project
.
Project package configuration.
Package entry point to represent.
Path to distribution files relative to distribution directory.
This is typically a file listed in package.json
exports section and generated from
source file.
May be null
when distribution files missing.
Package entry point this project export represents.
Whether this entry has distribution file.
Whether this entry is generated by build tool.
Short entry name.
By default, equals to distribution file path relative to * distribution directory without an extension.
May be null
for non-generated entries.
Export path of this entry.
Configured project.
Path to source file to transpile during the build relative to sources directory,
or null
if this entry is not transpiled.
By default, searches for main.(m|c)?ts
, mod.(m|c)?ts
, or index.(m|c)?ts
file in sources sub-directory
corresponding to export path of the entry.
For example:
.
converted to ./src/mod.ts
,./util
converted to ./src/util/mod.ts
.Path to types definition file relative to distribution directory.
By default, equals to entry name with .d.ts
extension.
May be null
for non-generated file.
Protected
cloneProtected
detectProtected
detectProtected
detectProtected
detectSearches for path or pattern matching all provided conditions.
Tries to find an entry point without default
and import
conditions if not found.
Rest
...conditions: string[]Required export conditions. When missing, searches for default
one.
Matching path or pattern, or undefined
when not found.
Gains actual development tools host from the project.
Gains project package configuration.
Assigns distribution files.
New distribution files, or null
to omit entry generation.
Updated instance.
Assigns source file to transpile during the build.
New path to source file relative to sources directory, or null
to not transpile this entry.
Updated instance.
Assigns types definition file.
New types definition file path relative to distribution directory.
Updated instance.
Project entry corresponding to package entry point.