forked from TencentBlueKing/bkui-vue2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
28 lines (28 loc) · 777 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"presets": [
[
"@babel/preset-env",
{
"modules": "commonjs",
"corejs": 2,
"spec": true,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
},
"useBuiltIns": "usage",
"debug": false
}
],
["@vue/babel-preset-jsx"]
],
"plugins": [
"@babel/plugin-transform-runtime",
"@babel/plugin-transform-async-to-generator",
"@babel/plugin-transform-object-assign",
"@babel/plugin-syntax-dynamic-import",
"date-fns",
"@vue/babel-plugin-transform-vue-jsx",
"@babel/plugin-syntax-jsx"
],
"comments": true
}