Skip to content
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

Consider replacing webpack by rollup #165

Open
blikblum opened this issue Jan 13, 2017 · 0 comments
Open

Consider replacing webpack by rollup #165

blikblum opened this issue Jan 13, 2017 · 0 comments

Comments

@blikblum
Copy link
Contributor

Rollup provides the following advantages:

  • smaller transpiled code due to avoidance of require calls [1]
  • saner and smaller code for exported functions, e.g., it will not transpile clone(router.state.param) into (0, _dash.clone)(router.state.params). [2]

I'm willing to try the conversion, but discussing here first to see if is worth try

Disclaimer: for my apps i use webpack, so no problems with it at all. But as today, for libraries rollup has some advantages

  1. https://nolanlawson.com/2016/08/15/the-cost-of-small-modules/
  2. http://stackoverflow.com/questions/32275135/why-does-babel-rewrite-imported-function-call-to-0-fn
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

No branches or pull requests

1 participant