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

importMap "swallowing" custom implementation #2412

Open
ivanbanov opened this issue Jun 28, 2021 · 1 comment
Open

importMap "swallowing" custom implementation #2412

ivanbanov opened this issue Jun 28, 2021 · 1 comment

Comments

@ivanbanov
Copy link

ivanbanov commented Jun 28, 2021

Im using emotion11 with xstyled3, this library re-export emotion with some custom styled implementations such as styled.box.

The importMap option in the babel config worked like a charm to fix the instance mapping that I was facing before, the problem is that now part of my code is breaking because emotion only allows the "normal" usage, pretty much the tags set in the styled package

I pushed some commits with a small reproduction of the bug for easier debug https://github.com/ivanbanov/xstyled-selector-bug

xxx

@Andarist
Copy link
Member

Well, this is a plugin targeting Emotion - not other libraries. If you can figure out how to support your use case with some minimal changes then I could consider merging a PR for this. Other than that I can't afford to take the time to work on this myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants