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

warn() arguments are not being transpiled

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
13
Forks
13
PR merge metrics
No merged PRs in 30d

Description

```js
warn(...arguments);
```

is apparently being transpiled to

```js
(false && _ember.default.warn(...arguments));
```

but `...arguments` is ES6 code, which `ember-cli-uglify@1` is not able to handle.

see https://github.com/simplabs/ember-simple-auth/issues/1443

/cc @rwjblue

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.