Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
84fbd4b5
Commit
84fbd4b5
authored
Apr 02, 2019
by
Luis Fernando Alvarez D
Committed by
Tim Neutkens
Apr 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added async-to-promises transform (#6797)
Replaced regenerator with async-to-promises
parent
035890f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
package.json
packages/next/package.json
+1
-0
taskfile.js
packages/next/taskfile.js
+4
-1
yarn.lock
yarn.lock
+5
-0
No files found.
packages/next/package.json
View file @
84fbd4b5
...
...
@@ -56,6 +56,7 @@
"babel-loader"
:
"8.0.2"
,
"babel-plugin-dynamic-import-node"
:
"2.2.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"
,
"chalk"
:
"2.4.2"
,
"find-cache-dir"
:
"2.0.0"
,
...
...
packages/next/taskfile.js
View file @
84fbd4b5
...
...
@@ -15,8 +15,11 @@ const babelOpts = {
[
'@babel/plugin-transform-runtime'
,
{
corejs
:
2
,
helpers
:
true
,
regenerator
:
tru
e
,
regenerator
:
fals
e
,
useESModules
:
false
}],
[
'babel-plugin-transform-async-to-promises'
,
{
inlineHelpers
:
true
}]
]
}
...
...
yarn.lock
View file @
84fbd4b5
...
...
@@ -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"
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:
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment