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

Wrong transpilation for renamed import

Đang mở
#48 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
13
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.