ember-cli-babel
ember-cli-babel copied to clipboard
Ember.assert is not renamed when import { assert as X } is used
Ref: https://github.com/babel/ember-cli-babel/issues/372
just noticed the same issue for deprecate:
import { deprecate as emberDeprecate } from '@ember/application/deprecations';
// ....
deprecate(message, // Here it fails with "TypeError: Ember.emberDeprecate is not a function"
worked it around by avoiding named import alias https://github.com/san650/ember-cli-page-object/pull/537/commits/2d7ea1b22f3ac910381c2f0b009fc6d9db293691
Haven't had a chance to dig in here. I suspect the issue is in babel-plugin-debug-macros though.