Add ImportExpression node type (ES2020)#365
Conversation
This version supports ES2020 syntax.
|
Hi @benjamn - I'd appreciate if we can get this in. Do you have time to take a look? |
|
@benjamn Hi, any plans to merge this CL ? |
benjamn
left a comment
There was a problem hiding this comment.
Looks great, thanks @mkubilayk!
I'm going to release a patch version with this change, and then a minor version after consolidating the def/es* modules into a single def/esNext module, so that we can stop worrying about the versions/years.
|
Please note that Babel already had an |
|
Thanks for merging this @benjamn! |
ES2020 grammar has
ImportExpressionnode type for dynamicimport(). Based on ESTree spec, this PR adds support for it inast-types.