magic-regexp
magic-regexp copied to clipboard
Babel plugin transformer
🆒 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
I'd love to support this, too. And thanks for the kind words.
It won't be possible with unplugin (https://github.com/unjs/unplugin/issues/320) but we could reuse much of the same logic to export a babel plugin.