Don't transpile ES Classes.

This commit is contained in:
Jason Miller
2018-04-17 21:26:28 -04:00
parent 058cce1d49
commit 3b47ee6fe5

View File

@@ -1,31 +1,35 @@
{ {
"presets": [ "presets": [
[ [
"env", "env",
{ {
"loose": true, "loose": true,
"uglify": false, "uglify": false,
"modules": false, "modules": false,
"targets": { "targets": {
"browsers": "last 2 versions" "browsers": [
}, "last 2 versions",
"exclude": [ "not android>0",
"transform-regenerator", "not ie>0"
"transform-es2015-typeof-symbol" ]
] },
} "exclude": [
] "transform-regenerator",
], "transform-es2015-typeof-symbol"
"plugins": [ ]
"transform-decorators-legacy", }
"transform-class-properties", ]
"transform-react-constant-elements", ],
"transform-react-remove-prop-types", "plugins": [
[ "transform-decorators-legacy",
"transform-react-jsx", "transform-class-properties",
{ "transform-react-constant-elements",
"pragma": "h" "transform-react-remove-prop-types",
} [
] "transform-react-jsx",
] {
"pragma": "h"
}
]
]
} }