You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
728 B
41 lines
728 B
{
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"loose": true,
|
|
"modules": false,
|
|
"useBuiltIns": "usage",
|
|
"shippedProposals": true,
|
|
"targets": {
|
|
"browsers": [">0.25%", "not dead"],
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@babel/preset-react",
|
|
{
|
|
"useBuiltIns": true,
|
|
"pragma": "React.createElement",
|
|
}
|
|
],
|
|
"@babel/flow"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@babel/plugin-proposal-class-properties",
|
|
{
|
|
"loose": true
|
|
}
|
|
],
|
|
"@babel/plugin-syntax-dynamic-import",
|
|
"babel-plugin-macros",
|
|
[
|
|
"@babel/plugin-transform-runtime",
|
|
{
|
|
"helpers": true,
|
|
"regenerator": true
|
|
}
|
|
]
|
|
]
|
|
}
|