Skip to content

Commit 0a6bf3f

Browse files
committed
Fix working in tue_mobile_ui
1 parent 334542e commit 0a6bf3f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.babelrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
]
1313
],
1414
"plugins": [
15-
"@babel/plugin-proposal-class-properties"
15+
"@babel/plugin-proposal-class-properties",
16+
"@babel/plugin-transform-classes"
1617
]
1718
},
1819
"esm": {
@@ -28,7 +29,8 @@
2829
]
2930
],
3031
"plugins": [
31-
"@babel/plugin-proposal-class-properties"
32+
"@babel/plugin-proposal-class-properties",
33+
"@babel/plugin-transform-classes"
3234
]
3335
},
3436
"test": {
@@ -44,6 +46,7 @@
4446
],
4547
"plugins": [
4648
"@babel/plugin-proposal-class-properties",
49+
"@babel/plugin-transform-classes",
4750
"istanbul"
4851
]
4952
}

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@babel/core": "^7.18.0",
4646
"@babel/eslint-parser": "^7.18.2",
4747
"@babel/plugin-proposal-class-properties": "^7.17.12",
48+
"@babel/plugin-transform-classes": "^7.17.12",
4849
"@babel/preset-env": "^7.18.0",
4950
"@babel/register": "^7.17.0",
5051
"babel-plugin-istanbul": "^6.1.1",

0 commit comments

Comments
 (0)