Skip to content

Use rollup-plugin-dts for bundling #440

@sgarfinkel

Description

@sgarfinkel

Description

I’ve never had api-extractor work properly without an error, while https://www.npmjs.com/package/rollup-plugin-dts has always worked perfectly or it at least emits an actionable error. Is it possible to either replace api-extractor with instead running rollup, or at least make it an option?

Suggested solution

Add support for rollup-plugin-dts as an alternative to api-extractor

Alternative

You can do this indirectly via the afterBuild callback, but a first class option would be preferred to also handle cleanup.

Additional context

No response

Validations

  • Read the FAQ.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

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