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

Extending / Overriding Mappings #133

Open
buschtoens opened this issue Aug 17, 2020 · 0 comments
Open

Extending / Overriding Mappings #133

buschtoens opened this issue Aug 17, 2020 · 0 comments

Comments

@buschtoens
Copy link

Currently only an ignore option is accepted, which allows to exempt certain imports from being rewritten, e.g. as used by https://github.com/babel/ember-cli-babel/blob/aa6b45cad241617279d24f96390f9ced3ff0e754/index.js#L610-L630.

It would be awesome, if we could expand this API to allow overriding / amending the standard mapping from ember-rfc176-data.

During the implementation of the ember-cached-decorator-polyfill, I had to do some crazy contortions (ember-polyfills/ember-cached-decorator-polyfill#12) to add new entries to the mapping. It would be great, if we could improve the infrastructure for future polyfills here. 💕

I guess this will also require some changes to ember-cli-babel, but the more significant changes will happen here.

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

No branches or pull requests

1 participant