Skip to content

Cut production bundle size in half with Zephyr - #14

Draft
milesfrain wants to merge 2 commits into
f-f:masterfrom
milesfrain:fix-zeph
Draft

Cut production bundle size in half with Zephyr#14
milesfrain wants to merge 2 commits into
f-f:masterfrom
milesfrain:fix-zeph

Conversation

@milesfrain

Copy link
Copy Markdown
Contributor

Sharing this three-line change to show how to achieve smaller bundles.
This shouldn't be merged since zephyr binary needs to be installed manually.

Production js bundle shrunk from 439 to 184 KB.
Gzipped sizes shrunk from 103 to 56 KB.

Using Zephyr 0.2.2
https://github.com/coot/zephyr/releases

milesfrain added 2 commits May 9, 2020 20:03
Using Zephyr 0.2.2
https://github.com/coot/zephyr/releases

Production js bundle shrunk from 439 to 184 KB.
Gzipped sizes shrunk from 103 to 56 KB.

Unfortunately Zephyr is not yet available through NPM,
so binary must be installed manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant