developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8.04k stars 362 forks source link

Rollup tweaks for output size/perf #914

Open developit opened 2 years ago

developit commented 2 years ago

This turns off externalLiveBindings, which generates getters for re-exported bindings. It also enables modern code generation for the modern bundles (arrow functions, object shorthand, etc).

changeset-bot[bot] commented 2 years ago

⚠️ No Changeset found

Latest commit: cf4716064cd2b64179ad3d3671279e4d6c9a1570

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

quantizor commented 2 years ago

@developit this change sounds good - picking it back up eventually?

developit commented 2 years ago

Yes - I think we are on more recent Rollup now too and can enable es2015 output.