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