does babel support this feature?
zzzgit opened this issue · comments
zzzgit commented
does babel support this feature?
I found not
Is there a plugin for babel can achieve this?
Domenic Denicola commented
I'm not sure. I'd suggest asking over on the Babel repository, not the spec repository, since I'm not associated with the Babel project.
Jordan Harband commented
zzzgit commented
thank very much
Gabriel Delépine commented
I would prefer the plugin of the official babel repo https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import
Jordan Harband commented
@GabrielDelepine that's the syntax plugin only, which both of the above transforms depend on - that is not sufficient to transpile it, solely to parse it.