2016-08-14 03:15:52 +08:00
|
|
|
{
|
2017-12-27 03:46:38 +08:00
|
|
|
"plugins": [
|
|
|
|
"transform-class-properties",
|
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-react-jsx",
|
|
|
|
["transform-runtime", {
|
|
|
|
"polyfill": false,
|
|
|
|
"regenerator": true
|
|
|
|
}]
|
|
|
|
],
|
|
|
|
"presets": [
|
|
|
|
["env", {
|
|
|
|
"targets": {
|
|
|
|
"browsers": ["last 2 versions", "ie >= 9", "safari >= 7"]
|
|
|
|
},
|
|
|
|
"modules": "commonjs",
|
|
|
|
"loose": true
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
}
|