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
New public API does not compile in ember-cli 1.13.8 #3998
Comments
Thanks for reporting. My guess is that the transpired used on older ember-cli doesn't support export *. |
I'll test a bit more then submit a PR to change them to manual import and export statements. |
Addon/ is handled by the addon though(it's Babel should handle this), seems strange Esperanto had anything to do with this |
@stefanpenner - ember-cli-babel by default blacklists es6.modules, and the ember-cli build itself handles modules |
@rwjblue what needs to happen for us to close this issue. Should Ember Data be manually importing and exporting the modules instead of using |
I am kind of in favor of moving the files where these placeholder files are. These "re-export a module" files don't seem to add much value while making the compiled payload larger. |
@fivetanley - I agree with you and will do that where possible, but in some cases that would also expose any named exports as "public" also (which I think is not what we want). @bmac - Yes:
Becomes:
|
this should just work |
@topaxi can you upgrade to ember-cli 1.13 please and try again. |
Agreed, that is why I wrote it that way initially, but does not work all the time (in older ember-cli versions in the 1.13 series). I guess we could say that to use Ember Data 2.3.0 "you must use latest ember-cli", but that seems somewhat harsh especially when we have a known work around. |
it should be a small amount of effort to upgrade. |
Should be, agreed. But the fact that ember-data 2.2.0 works with ember-cli@1.13.8 and 2.3.0-beta.3 does not is not good. |
Lots of other add-ons use that syntax, i don't think switching back is healthy at all. People should just upgrade, their life will be better in many dimensions. |
addon/relationships.js
doesn't get compiled in my output (using ember-cli 1.13.8) and therefore results in a syntax error.vendor.js
:The text was updated successfully, but these errors were encountered: