You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Size benefits would likely be much greater if we made more adjustments to the source too, depending on perf characteristics. ES2020 means ES6 classes, which might save some bytes for BaseComponent, optional chaining in a few places, optional catch bindings (though perhaps terser already does this), etc. There'd be more opportunities besides the -14b I think, though that might mean dealing with Microbundle.
A 7 year jump in minimum browser versions probably isn't too unreasonable given the 6 year lifespan of X, though that is a big jump.
I mean, we could just add a more minimal Rollup config? Speed is great, but if the newer tools can't produce output worth a damn, we can keep using older tools? That being said, Vitest is still pretty much unusable on my system so Microbundle might only seem acceptably slow to me.
I wouldn't be surprised if Microbundle is considerably slower than a more modern & purpose-built Rollup/Babel config too, maybe I'll take a look after work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Size changes are quite nice