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

Upgraded to Babel 7 beta #57

Merged
merged 2 commits into from
Apr 19, 2018
Merged

Upgraded to Babel 7 beta #57

merged 2 commits into from
Apr 19, 2018

Conversation

t-sauer
Copy link
Contributor

@t-sauer t-sauer commented Feb 28, 2018

It currently doesn't work with the latest beta (40) but after a short discussion in the Babel Slack the problem looks like a bug in Babel and I think I've seen a PR a couple of days ago that should fix the problem (can't find it anymore though).

@t-sauer
Copy link
Contributor Author

t-sauer commented Mar 16, 2018

It's working with the latest beta now. The problem was that the imports were removed too early so the bindings were not available anymore later on. It was pretty much the same problem as described in babel/babel#7551 (comment)

package.json Outdated
"babel-register": "^6.22.0",
"@babel/core": "7.0.0-beta.42",
"@babel/preset-env": "7.0.0-beta.42",
"@babel/register": "7.0.0-beta.42",
Copy link
Member

Choose a reason for hiding this comment

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

do you think it would be possible to use something like https://github.com/joliss/node-multidep to test this with both Babel versions?

@t-sauer
Copy link
Contributor Author

t-sauer commented Mar 20, 2018

I've changed the tests to run on both Babel 6 and 7 now. Not sure if it is the most beautiful solution but it works 😅

@rwjblue rwjblue merged commit 4c13806 into ember-cli:master Apr 19, 2018
@rwjblue
Copy link
Member

rwjblue commented Apr 19, 2018

Thank you for working on this @t-sauer, sorry for the delays!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants