forked from external-repos/squoosh
Remove env preset and decorator plugin
This commit is contained in:
22
.babelrc
22
.babelrc
@@ -1,27 +1,5 @@
|
|||||||
{
|
{
|
||||||
"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": [
|
"plugins": [
|
||||||
"transform-decorators-legacy",
|
|
||||||
"transform-class-properties",
|
"transform-class-properties",
|
||||||
"transform-react-constant-elements",
|
"transform-react-constant-elements",
|
||||||
"transform-react-remove-prop-types",
|
"transform-react-remove-prop-types",
|
||||||
|
|||||||
Reference in New Issue
Block a user