Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
Last active September 1, 2016 00:00
Show Gist options
  • Save nolanlawson/c1ed1f7b308105db67c0f9fc80b2e6f7 to your computer and use it in GitHub Desktop.
Save nolanlawson/c1ed1f7b308105db67c0f9fc80b2e6f7 to your computer and use it in GitHub Desktop.
The case for Rollup and ES modules in frontend code

The case for Rollup and ES modules in frontend code

TLDR: Rollup and ES modules give us:

  • smaller bundles due to tree-shaking and scope-hoisting, and
  • faster runtime perf than CommonJS, by avoiding runtime module resolution

Sources to back up these wild claims:

@trodrigues
Copy link

sadasd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment