Skip to content

Commit ab916f7

Browse files
committed
feat: update config
1 parent 2a36ee0 commit ab916f7

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.babelrc renamed to .babelrc.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{
1+
'use strict';
2+
3+
module.exports = {
24
"presets": [
35
"@babel/preset-react",
46
"@babel/preset-env"
@@ -29,8 +31,8 @@
2931
"env": {
3032
"test": {
3133
"plugins": [
32-
"istanbul"
33-
]
34-
}
34+
"istanbul",
35+
],
36+
},
3537
}
36-
}
38+
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"antd-mobile-icons": "^0.2.2",
4949
"babel-eslint": "^9.0.0",
5050
"babel-loader": "^8.0.0",
51-
"babel-plugin-istanbul": "^6.1.1",
51+
"babel-plugin-istanbul": "6",
5252
"classnames": "^2.2.5",
5353
"cross-env": "^5.1.1",
5454
"css-loader": "^6.7.1",

0 commit comments

Comments
 (0)