-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Breaks with @babel/preset-env@7.4.3 #64
Comments
I have seen this as well. It is a tortuous experience. |
Same here. A massively tricky one to debug. Without @rwjblue 's help we could never have. For now we reverted to using
in our config/target.js from
but obviously not ideal so happy to follow the resolution on this. |
I recently ran into same thing and @rwjblue pointed me here. Reference issue I opened over here: |
@rwjblue any hope of this getting some attention? I tried to debug to some extent it by linking this package locally, but did not manage to find where exactly transformations break. |
The fix for this is basically the same as what was done in ember-data/babel-plugin-ember-data-packages-polyfill#3 |
This seemed to crop up again when running Babel 7.10.0+ (released 2020-05-25). I'm looking into fixing (based on my last comment). |
@rwjblue I have time this afternoon if needed to supply a fix |
Thanks @runspired, definitely will appreciate the help (either in reviews or impl). After a bunch of general repo cleanup, I've reproduced the failures being reported in #108. |
ember-cli-babel@7.20.1 was just released, and should fix the underlying issue. https://github.com/babel/ember-cli-babel/releases/tag/v7.20.1 |
I wanted to make sure this issue didn't fall in the cracks, as I believe it nuked almost an entire day of work for me yesterday, and the way it fails is veeery subtle and tricky.
See here for references to this issue:
In short, there are combinations of values in
config/target.js
and the plugins added in@babel/preset-env@7.4.3
that will cause things likeimport EmberObject from '@ember/object'
to be converted to an undefined_EmberObject
instead ofEmber.Object
.cc @chadhietala and @rwjblue
The text was updated successfully, but these errors were encountered: