Skip to content

Commit cc03687

Browse files
committed
ADD:await,async支持
1 parent 191fb28 commit cc03687

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.babelrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"presets": ["@babel/env", "@babel/typescript", "@vue/babel-preset-jsx"],
33
"plugins": [
4+
"@babel/plugin-transform-runtime",
45
"@babel/proposal-numeric-separator",
56
[
67
"@babel/proposal-decorators",

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@babel/plugin-proposal-decorators": "^7.7.4",
2424
"@babel/plugin-proposal-numeric-separator": "^7.7.4",
2525
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
26+
"@babel/plugin-transform-runtime": "^7.12.1",
2627
"@babel/preset-env": "^7.7.7",
2728
"@babel/preset-typescript": "^7.7.7",
2829
"@typescript-eslint/eslint-plugin": "^2.14.0",

0 commit comments

Comments
 (0)