Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map service to Ember.inject.service #417

Closed
wants to merge 1 commit into from
Closed

Map service to Ember.inject.service #417

wants to merge 1 commit into from

Conversation

Windvis
Copy link

@Windvis Windvis commented Jan 10, 2022

RFC 752 introduced the service export which was released in Ember 4.1. I tried creating a polyfill for this import by renaming service to inject with a custom babel plugin, but that triggers errors in older Ember releases since this module mapping doesn't include that export yet.

This makes it possible to create a polyfill addon for this import.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant