-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Bundling (switch to rollup) #1371
Labels
Comments
11 tasks
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was sitting and looking over the NPM downloads of this library, and the size of the bundle jumped out at me.
I mean, 1.15 MB with 400 files for a library? Seems a little too much to me.
That's why I thought it would be cool to switch to rollup, like the other libraries.
Results: ~194kb and only 3 files, no more!
Also, to be able to merge all the
.d.ts
into single file, I used @microsoft/api-extractor, which imo is really good and efficient.TODO:
The text was updated successfully, but these errors were encountered: