ember-cli / ember-cli/babel-plugin-debug-macros

Wrong transpilation for renamed import

オープン
#48 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
13
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。