ember-cli / ember-cli/ember-compatibility-helpers
Expose optional features
Open
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
There is currently no public API for accessing the state of optional features at runtime, and this addon seems like the ideal place. Something like:
```javascript
import { hasOptionalFeature } from 'ember-compatibility-helpers';
if (hasOptionalFeature('jquery-integration')) {
// ...
}
```
I think this will either require, or else supercede https://github.com/emberjs/ember-optional-features/issues/10, but either way, should address https://github.com/emberjs/ember-optional-features/issues/10#issuecomment-421180959.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.