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

chore(build): add rollup to bundle external deps #9

Merged
merged 1 commit into from
Aug 29, 2016
Merged

Conversation

kentcdodds
Copy link
Owner

Decided to go with rollup so we could benefit from reducing closures created by webpack and also because I wanted to learn something new.

I tested this and we should be able to add dependencies and import them with ES6 modules and benefit from treeshaking when possible, which is neat.

Decided to go with rollup so we could benefit from reducing closures
created by webpack and also because I wanted to learn something new.

I tested this and we should be able to add dependencies and import them
with ES6 modules and benefit from treeshaking when possible, which is
neat.
@kentcdodds
Copy link
Owner Author

Do you got a second to give this a look @conorhastings? Thoughts?

@codecov-io
Copy link

Current coverage is 100% (diff: 100%)

Merging #9 into master will not change coverage

@@           master    #9   diff @@
===================================
  Files           1     1          
  Lines          73    73          
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
  Hits           73    73          
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update 88ca826...bb3067c

@kentcdodds
Copy link
Owner Author

:shipit:

@conorhastings
Copy link
Collaborator

nice, LGTM. I've been meaning to try rollup as well, seems like it's going to be the way to go for libraries with apps staying in webpack land.

@conorhastings conorhastings merged commit 1cb4be5 into master Aug 29, 2016
@conorhastings conorhastings deleted the pr/bundle branch August 29, 2016 23:58
@kentcdodds
Copy link
Owner Author

Yeah, I agree. Though I'd love Webpack to get the same features so I can have one tool for both.

@kentcdodds kentcdodds mentioned this pull request Aug 31, 2016
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.

3 participants