Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updates to build for babel-preset-env #2696

Merged
merged 2 commits into from
Nov 5, 2017
Merged

Conversation

hmillison
Copy link
Contributor

Per #1342, this updates the redux build to use babel-preset-env to simplify things.

Updated the rollup config to use babel's external-helpers plugin per the projects recommendation for babel configuration (https://github.com/rollup/rollup-plugin-babel#configuring-babel)

I did a quick test in IE11 with a trivial create-react-app npm linked with this branch of redux and did not see anything issues 💯

@timdorr
Copy link
Member

timdorr commented Nov 5, 2017

Found some improvements in bundle sizes in rollup/rollup-plugin-babel#100. While we have to wait for an upstream fix, it's at least got a workaround for now.

The build failure appears to be something else going on (not 100% sure of the cause, but it finally reproduced itself locally, so I can fix it). That's not your fault, so this looks good to go. Thanks for the help!

@timdorr timdorr merged commit 6397d91 into reduxjs:next Nov 5, 2017
timdorr pushed a commit that referenced this pull request Nov 16, 2017
* Updates to build for babel-preset-env

* Fixes for regenerator stuff in the output.

Waiting on rollup/rollup-plugin-babel#100 and rollup/rollup#1595
seantcoyote pushed a commit to seantcoyote/redux that referenced this pull request Jan 14, 2018
* Updates to build for babel-preset-env

* Fixes for regenerator stuff in the output.

Waiting on rollup/rollup-plugin-babel#100 and rollup/rollup#1595
tomipaul pushed a commit to tomipaul/redux that referenced this pull request Apr 8, 2018
* Updates to build for babel-preset-env

* Fixes for regenerator stuff in the output.

Waiting on rollup/rollup-plugin-babel#100 and rollup/rollup#1595
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants