ember-decorators / ember-decorators/ember-decorators

Babel not auto-configured when used in an addon

Open
#134 15 comments 0 reactions 0 assignees View on GitHub
5.x docs help wanted
Dominant language
JavaScript
Stars
357
Forks
93
PR merge metrics
No merged PRs in 30d

Description

I just tried to use `ember-decorators` in an addon and was happy to see that https://github.com/rwjblue/ember-decorators/commit/93289926e8bfbe2b0f4aa4d4ccbc55b9cd80662e removed the setup section from the README, including the setup for usage in addons.

However, I still had to include the `init` patch in my addon's `index.js`. Was that piece of the README removed by accident or should this work without manually adding the plugins in `index.js`?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README change in commit 93289926e8bfbe2b0f4aa4d4ccbc55b9cd80662e and inspect the addon's index.js init patch described in the report. Determine whether addon use should configure Babel automatically; done means the expected behavior is documented and the manual plugin setup is either unnecessary or clearly required.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.