Replies: 1 comment
corsair-slack.mp4 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently, all of Corsair's plugins are imported from the main
corsairpackage. This is a really nice DX because it allows you to do something like this:With 30 integrations, this means our package size is 15 mb already. This is unsustainable, especially as we scale to 1,000 integrations. We are
Our long-term option is to split up packages by plugins. In my opinion, this degrades DX a bit. It means you have to do this:
This is not ideal, so we're considering
peerDependencies+ lazy re-exports. Better DX, smaller package size.This discussion aims to update the community on progress to dramatically reduce package size and maintain the best experience for developers and agents.
All reactions