Commit 84fbd4b5 authored by Luis Fernando Alvarez D's avatar Luis Fernando Alvarez D Committed by Tim Neutkens

added async-to-promises transform (#6797)

Replaced regenerator with async-to-promises
parent 035890f9
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
"babel-loader": "8.0.2", "babel-loader": "8.0.2",
"babel-plugin-dynamic-import-node": "2.2.0", "babel-plugin-dynamic-import-node": "2.2.0",
"babel-plugin-react-require": "3.0.0", "babel-plugin-react-require": "3.0.0",
"babel-plugin-transform-async-to-promises": "0.8.7",
"babel-plugin-transform-react-remove-prop-types": "0.4.15", "babel-plugin-transform-react-remove-prop-types": "0.4.15",
"chalk": "2.4.2", "chalk": "2.4.2",
"find-cache-dir": "2.0.0", "find-cache-dir": "2.0.0",
......
...@@ -15,8 +15,11 @@ const babelOpts = { ...@@ -15,8 +15,11 @@ const babelOpts = {
['@babel/plugin-transform-runtime', { ['@babel/plugin-transform-runtime', {
corejs: 2, corejs: 2,
helpers: true, helpers: true,
regenerator: true, regenerator: false,
useESModules: false useESModules: false
}],
['babel-plugin-transform-async-to-promises', {
inlineHelpers: true
}] }]
] ]
} }
......
...@@ -2569,6 +2569,11 @@ babel-plugin-syntax-object-rest-spread@^6.13.0: ...@@ -2569,6 +2569,11 @@ babel-plugin-syntax-object-rest-spread@^6.13.0:
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
integrity sha1-/WU28rzhODb/o6VFjEkDpZe7O/U= integrity sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=
babel-plugin-transform-async-to-promises@0.8.7:
version "0.8.7"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-promises/-/babel-plugin-transform-async-to-promises-0.8.7.tgz#8e9d214f54a0fabba4088dda4c8df214d4698429"
integrity sha512-znRrOjUy8gDHs6c40dpqVnYrzvCEWyISnLVS1U1ZJvahX2YF19tI8Rq3tI7u7SFe4bE48oceEVY437pYDnRYpQ==
babel-plugin-transform-react-remove-prop-types@0.4.15: babel-plugin-transform-react-remove-prop-types@0.4.15:
version "0.4.15" version "0.4.15"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.15.tgz#7ba830e77276a0e788cd58ea527b5f70396e12a7" resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.15.tgz#7ba830e77276a0e788cd58ea527b5f70396e12a7"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment