Support asynchronous configuration
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:13 (10 by maintainers)
Top Results From Across the Web
How To Do @Async in Spring - Baeldung
Enable Async Support. Let's start by enabling asynchronous processing with Java configuration. We'll do this by adding the @EnableAsync to a ...
Read more >Getting Started | Creating Asynchronous Methods - Spring
This project is configured to fit the examples in this tutorial. To manually initialize the project: Navigate to https://start.spring.io. This service pulls ...
Read more >Configuring Asynchronous Lines and Interfaces - Cisco
You can configure one or more asynchronous interfaces on your access server (and one on a router) to be in dedicated network interface...
Read more >Spring @Async Annotation for Asynchronous Processing
Spring @Async annotation allows us to create asynchronous methods in spring ... Enabling Async support is as well, just a matter of a...
Read more >Asynchronous invocation - AWS Lambda
To send records of asynchronous invocations to another service, add a destination to your function. You can configure separate destinations for ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed by https://github.com/babel/babel/pull/12266, it will be released in 7.13.0
I just want to be able to transpile our react app on the fly in browser for each page with systemjs 2 for Dev environment