-
Notifications
You must be signed in to change notification settings - Fork 298
upgrade to babel 7 #103
upgrade to babel 7 #103
Conversation
|
Thanks a ton for doing this work @sag1v. Sorry it's taken awhile to get back to you, as I've been traveling a lot recently. This looks perfect if we just want to switch as-is. Babel 7 does blow up the deps quite a bit, unfortunately. I was thinking of using microbundle to hide the complexity of rollup & babel, but I guess this would have the downside of being less easy to customize. Thoughts on this tradeoff? |
|
If we go with the Not sure this PR is affected by this decision though, we can upgrade to babel 7 now and in the near future go for the |
|
@sag1v @transitive-bullshit I see next warning with this changes. |
|
@avdeev did you forked the repo and used it or just copy the changes? Can you post the steps to reproduce the warning? |
|
@sag1v Yes, I just copied the changes to my project. I will try to reproduce with the fork. |
|
@sag1v Reproduced from the fork. |
|
@transitive-bullshit I think that |
|
If you bundle libraries you should aim for using |
|
@Andarist could you clarify new rollup config with |
|
@ravecat Could you clarify what's your goal? Do you want to bundle a library? |
|
@Andarist yep, I already create bundle with that config https://github.com/ravecat/styled-components-toolbox/blob/master/rollup.config.js , but I'm interested in this part of the documentation https://github.com/rollup/rollup-plugin-babel#helpers
But current config doesn't work with babel 7. I want to use external-helpers. Is it reduce size of my package? |
|
I just created a new project from create-react-library but still get Babel 6. What am I missing? |
resolve #86