18 lines
361 B
Plaintext
18 lines
361 B
Plaintext
{
|
|
"presets": ["@babel/env", "@babel/react"],
|
|
"plugins": [
|
|
"@babel/plugin-proposal-class-properties",
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
"@babel/plugin-transform-runtime"
|
|
],
|
|
"env": {
|
|
"production": {
|
|
"plugins": [
|
|
["transform-react-remove-prop-types", {
|
|
"removeImport": true
|
|
}]
|
|
]
|
|
}
|
|
}
|
|
}
|