babel-plugin-universal-import icon indicating copy to clipboard operation
babel-plugin-universal-import copied to clipboard

Optional transformation, maybe use as babel macro

Open DimaRGB opened this issue 4 years ago • 4 comments

Question:

Is it possible to make this plugin work as macro, like preval ?

Problem:

In some files i need to use default dynamic import(). And i want to have some mechanism to enable the transform plugin only for some files, maybe even only for some cases.

DimaRGB avatar Feb 20 '20 11:02 DimaRGB

Might be fixed by #134.

cdoublev avatar Aug 27 '20 06:08 cdoublev

Looking for maintainers on the universal suite. A significant amount of time is dedicated to module Federation and webpack 5 - this would near eliminate the need for Babel transformers this substantial.

ScriptedAlchemy avatar Aug 27 '20 08:08 ScriptedAlchemy

I read your post(s) about it. It sounds very interesting. I didn't realize it could fill this space (code transformers). I'm not sure if I can take any new responsibilities with your universal packages. I'm already struggling to do enough work on my own to be honest + I'm not 100% fluent in english. But I can help when I can. This is the minimum I can do in return of accessing those great packages for free.

(Sorry to pollute this issue).

cdoublev avatar Aug 27 '20 08:08 cdoublev

Yeah no problem. And your PRs are appreciated! Until a point in time where there's a crossroads of needing to rebuild the universal toolset - it still does what's it needs to.

The only part I might update would be universal component. But that would be a breaking change. Moving universal to a module federation based system since it's far superior and covers the basics of what universal did.

ScriptedAlchemy avatar Aug 31 '20 09:08 ScriptedAlchemy