Open simonihmig opened 7 years ago
Given this reproduction file: https://github.com/simonihmig/ember-warn-transpilation/blob/master/app/utils/warn.js
This is transpiled to:
define('ember-warn-transpilation/utils/warn', ['exports'], function (exports) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = warn; function warn() { (true && Ember.emberWarn(...arguments)); } });
Where Ember.emberWarn is obviously not a thing.
Ember.emberWarn
also: https://github.com/ember-cli/babel-plugin-debug-macros/pull/82
Given this reproduction file: https://github.com/simonihmig/ember-warn-transpilation/blob/master/app/utils/warn.js
This is transpiled to:
Where
Ember.emberWarn
is obviously not a thing.