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

Babel plugin transformer #449

Open
bryanmylee opened this issue Dec 9, 2024 · 1 comment
Open

Babel plugin transformer #449

bryanmylee opened this issue Dec 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bryanmylee
Copy link

🆒 Your use case

I'm currently using this wonderful library via the runtime on an Expo project which uses the Metro/Babel bundler/transformer.

I'm wondering if there is a supported way to apply the magic-regexp transformer to Babel that I'm missing.

If not, I'm wondering how easy it would be to adapt the current transformers to do so, or whether it's even possible.

I would love to contribute either documentation or a new transformer for this project.

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

@bryanmylee bryanmylee added the enhancement New feature or request label Dec 9, 2024
@danielroe
Copy link
Member

I'd love to support this, too. And thanks for the kind words.

It won't be possible with unplugin (unjs/unplugin#320) but we could reuse much of the same logic to export a babel plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants