ember-cli / ember-cli/babel-plugin-debug-macros
Wrong transpilation for renamed import
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 13
- Forks
- 13
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Given this reproduction file: https://github.com/simonihmig/ember-warn-transpilation/blob/master/app/utils/warn.js
This is transpiled to:
```js
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.