Support multiple modules.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- babel, javascript
- Domain
- tooling
Research direction
Start by reviewing how the plugin currently accepts its feature-flags configuration and compare it with the two import configurations shown in the issue. Done means the plugin can process both ember-metal/features and ember-metal during the migration, with coverage for the combined configuration.
Written by the indexing model from the issue text.
Description
Ember is migrating from import isEnabled from 'ember-metal/features' to import { isFeatureEnabled } from 'ember-metal';. During the transition (while the code is being updated piece by piece) it would be nice to instruct this plugin to simply process both modules. Unfortunately, that doesn't seem possible today.
One possible solution is something like:
{
"plugins": [["feature-flags", [
{
"import": {
"module": "ember-metal/features"
},
"features": {
"new-feature": "disabled"
}
},
{
"import": {
"module": "ember-metal",
"name": "isFeatureEnabled"
},
"features": {
"new-feature": "disabled"
}
}
]]
}
@mmun - Thoughts?
- Dominant language
- JavaScript
- Stars
- 56
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ember-cli/babel-plugin-feature-flags
-
Babel 7Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
License file?Openquestion
Difficulty 4/5 3-5 days Newbie friendliness 20/100
ember-cli/babel-plugin-feature-flags#30 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ember-cli/babel-plugin-feature-flags#20 · 1 comment ·
All issues in ember-cli/babel-plugin-feature-flags
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
processing/p5.sound.js#123 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
PhilflowIO/dav-mcp#146 ·
Maintainers usually reply within 1 day
-
good first issue hacktoberfest
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Tanishq964/trail-kit.#4 ·
-
new icon permissions in review
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
simple-icons/simple-icons#15067 ·
Maintainers usually reply within 1 day
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mastra-ai/mastra#26562 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day