这是indexloc提供的服务,不要输入任何密码
Skip to content

[Feature] Allow injecting non-external packages into @microsoft/api-extractor #1356

@JonathanVelkeneers

Description

@JonathanVelkeneers

Issue

When using experimentalDts i would like to be able to set non-external packages, which is configured through api-extractor's "bundledPackages" option.
Currently it is not possible to pass any extra configuration into @microsoft/api-extractor.

Possible solutions:

  • Allow passing api-extractor config items through "experimentalDts" tsup's config option.

or

  • Pass the content of tsup's "noExternal" into the "bundledPackages" api-extractor option.

or

  • Detect the existence of an 'api-extractor.json' file, and pass it's content to api-extractor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions