for-await was transformed in @babel/helper-remap-async-to-generator, which was called by @babel/plugin-transform-async-to-generator and @babel/plugin-proposal-async-generator-functions. This prevented for-await statements in async functions to be transpiled if the transform-async-to-generator plugin was't enabled.
8 lines
119 B
JSON
8 lines
119 B
JSON
{
|
|
"plugins": [
|
|
"external-helpers",
|
|
"proposal-async-generator-functions",
|
|
"transform-destructuring"
|
|
]
|
|
}
|