-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
I couldn't find an existing tracking issue for this feature, please mark as a duplicate if I've missed anything.
This is something that would be required for jspm support in Babel CLI, where we'd want to use dynamic import() to reference plugins directly, and so would need some kind of promise support in the configuration.
Currently an asynchronous configuration gives the following error:
Error: You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.
And an asynchronous plugin gives the following error:
You appear to be using an async plugin, which your current version of Babel
does not support.If you're using a published plugin, you may need to upgrade your @babel/core version.
Either or both of these features would be really great to support.
The async plugin case effectively provides parity with top-level await workflows in future too. Happy to discuss further as well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue