plugins icon indicating copy to clipboard operation
plugins copied to clipboard

fix(repo): type definitions not being exported correctly for esm modules

Open danielbayley opened this issue 7 months ago • 5 comments

Rollup Plugin Name: {name}

This PR contains:

  • [x] bugfix
  • [ ] feature
  • [ ] refactor
  • [ ] documentation
  • [ ] other

Are tests included?

  • [ ] yes (bugfixes and features will not be merged without tests)
  • [x] no

Breaking Changes?

  • [ ] yes (breaking changes will not be merged unless absolutely necessary)
  • [x] no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

Picking up the baton from @Geylnu in #1578 …

I also ran into this. As mentioned elsewhere, the types are wrong in all Rollup plugins! Meaning they do not play nice with TypeScript.

More detailed explanations can be found here and here.

Fixes #1541. Fixes #1329.

danielbayley avatar Jun 30 '24 01:06 danielbayley