Transform for await...of syntax for @redux-devtools/remote (#1496)

* Transform for await...of for @redux-devtools/remote

* Create green-bulldogs-serve.md
This commit is contained in:
Nathan Bierema 2023-09-16 22:09:13 -04:00 committed by GitHub
parent e57bcb3933
commit 7e6d04380b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
'@redux-devtools/remote': patch
---
Transform `for await...of` syntax for @redux-devtools/remote to support Hermes Engine

View File

@ -1,6 +1,13 @@
{ {
"presets": [ "presets": [
["@babel/preset-env", { "targets": "defaults", "modules": false }], [
"@babel/preset-env",
{
"targets": "defaults",
"include": ["@babel/plugin-transform-async-generator-functions"],
"modules": false
}
],
"@babel/preset-typescript" "@babel/preset-typescript"
], ],
"plugins": ["@babel/plugin-transform-runtime"] "plugins": ["@babel/plugin-transform-runtime"]

View File

@ -1,6 +1,12 @@
{ {
"presets": [ "presets": [
["@babel/preset-env", { "targets": "defaults" }], [
"@babel/preset-env",
{
"targets": "defaults",
"include": ["@babel/plugin-transform-async-generator-functions"]
}
],
"@babel/preset-typescript" "@babel/preset-typescript"
], ],
"plugins": ["@babel/plugin-transform-runtime"] "plugins": ["@babel/plugin-transform-runtime"]