2016-10-02 19:57:45 +08:00
|
|
|
{
|
2019-12-13 05:37:14 +08:00
|
|
|
"sourceMaps": "inline",
|
2019-03-29 00:22:17 +08:00
|
|
|
"presets": [
|
2019-12-13 05:37:14 +08:00
|
|
|
["@babel/preset-env", {
|
|
|
|
"targets": {
|
|
|
|
"browsers": [
|
|
|
|
"last 2 versions"
|
|
|
|
],
|
|
|
|
"node": 12
|
|
|
|
},
|
|
|
|
"modules": "commonjs"
|
|
|
|
}],
|
|
|
|
"@babel/preset-typescript",
|
|
|
|
"@babel/preset-flow",
|
|
|
|
"@babel/preset-react"
|
2019-03-29 00:22:17 +08:00
|
|
|
],
|
|
|
|
"plugins": [
|
2019-12-13 05:37:14 +08:00
|
|
|
"@babel/plugin-proposal-numeric-separator",
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
|
|
"@babel/plugin-transform-flow-comments",
|
|
|
|
"@babel/plugin-syntax-dynamic-import",
|
|
|
|
"@babel/plugin-transform-runtime"
|
2019-03-29 00:22:17 +08:00
|
|
|
]
|
2016-10-02 19:57:45 +08:00
|
|
|
}
|