-
Notifications
You must be signed in to change notification settings - Fork 86
Change Request: Stop rolling up package #374
Copy link
Copy link
Closed
Labels
Description
Environment
HEAD
What problem do you want to solve?
Right now, we're rolling up the files in this package for distribution, we requires us cleaning up duplicate type definitions. This is a lot of work and we're stuck with how we can reference types between files due to these limitations.
What do you think is the correct solution?
Stop rolling up the package. This isn't strictly necessary because it's an ESM-only package, and therefore, we're not getting much extra value from rolling things up.
We can remove Rollup and just have tsc emit both types and code to the dist directory. The end result for plugin users will be the same and it will allow us more flexibility with how we import and define types.
Participation
- I am willing to submit a pull request for this change.
Additional comments
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Complete