jamesarosen / ember-i18n

Other
764 stars 184 forks source link

;import Service from "ember-i18n/service"; #493

Closed tomaszs closed 6 years ago

tomaszs commented 6 years ago

When using ember-18n it is compiled into vendor.js with a semicolon on the beginning:

;import Service from "ember-i18n/service";

And it breaks the app. Why is this happening and how to fix it?

jamesarosen commented 6 years ago

I wouldn't expect to see import in vendor.js. I'm guessing Babel isn't transpiling some files that it should be. This sounds like a problem with ember-cli or your ember-cli configuration.

jamesarosen commented 6 years ago

jamesarosen/ember-i18n has been deprecated in favor of ember-intl.