emberjs / emberjs/ember-cli-babel

`useBabelConfig` on fresh ember-app doesn't work

Open
#444 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
152
Forks
115
Avg merge
23h 22m
Merged PRs (30d)
4

Description

**Reproduction steps**

- `git clone https://github.com/ctjhoa/ember-use-babel-config-issue.git`
- `cd ember-use-babel-config-issue`
- `npm start`
- Go to http://localhost:4200/
- You will end up with something like that
![2022-05-20-162129_831x752_scrot](https://user-images.githubusercontent.com/1716173/169570798-2f397167-e4f4-4fc5-84e3-a5fdec355791.png)

**First investigation**

Adding
```diff
'ember-cli-babel': {
useBabelConfig: true,
+ includeExternalHelpers: true
}
```

in `ember-cli-build.js` seems to solve the helpers issue. However its not something documented as required.
Then you hit another error

![2022-05-20-162820_985x864_scrot](https://user-images.githubusercontent.com/1716173/169571854-1ace0256-ab39-4448-9a0b-8eb81af4c257.png)

This feature looks broken or lacks of documentation.

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.