Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

The great Babel 7.0 migration #635

Merged
merged 8 commits into from
Oct 23, 2018
Merged

The great Babel 7.0 migration #635

merged 8 commits into from
Oct 23, 2018

Conversation

ticky
Copy link
Contributor

@ticky ticky commented Oct 15, 2018

Updates us to Babel 7.0, keeping behaviour otherwise the same.

One thing we lose in this transition is the React-specific hot reloading infrastructure, which I don’t believe worked properly as of Webpack 3, let alone version 4. There are new ways to accomplish it which we can explore in a future PR.

The MyBuilds fixes will also be part of completion of #634.

@ticky
Copy link
Contributor Author

ticky commented Oct 15, 2018

This will end up closing #567.

@ticky

This comment has been minimized.

@ticky ticky requested a review from a team October 15, 2018 18:25
Copy link
Contributor

@plasticine plasticine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

],
"plugins": [
["relay", {"compat": true, "schema": "app/graph/schema.json"}]
["relay", {"compat": true, "schema": "app/graph/schema.json"}],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won’t need this anymore!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, really? Can it just be dropped?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wait — sorry, I was thinking about webpack when I wrote this lol. Excuse me, I haven’t had a coffee yet 🙄

"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol babel

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean I consider this on us for using stage-0 ;P

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄🙃

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are almost certainly some things we can drop from this list, but this is what we had so I’m keeping them for now. We can make more informed decisions about it in future.

@ticky ticky merged commit 6c75dea into master Oct 23, 2018
@toolmantim toolmantim deleted the babel-7.x branch January 22, 2019 03:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants