29 lines
796 B
Plaintext
29 lines
796 B
Plaintext
{
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "current"
|
|
}
|
|
}
|
|
],
|
|
"@babel/typescript",
|
|
"@babel/react"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-transform-flow-strip-types",
|
|
["@babel/plugin-proposal-decorators", { "legacy": true }],
|
|
"@babel/plugin-proposal-function-sent",
|
|
"@babel/plugin-proposal-export-namespace-from",
|
|
"@babel/plugin-proposal-numeric-separator",
|
|
"@babel/plugin-proposal-throw-expressions",
|
|
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
|
"@babel/proposal-object-rest-spread",
|
|
"@babel/transform-react-constant-elements",
|
|
"@babel/transform-react-inline-elements",
|
|
"transform-react-remove-prop-types",
|
|
"transform-react-pure-class-to-function",
|
|
]
|
|
}
|