43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
{
|
|
"presets": [
|
|
["@babel/preset-env", {
|
|
"targets": {
|
|
"node": "current"
|
|
}
|
|
}],
|
|
"@babel/preset-typescript",
|
|
"@babel/preset-react"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-syntax-jsx",
|
|
[
|
|
"@babel/plugin-transform-react-jsx",
|
|
{
|
|
"runtime": "automatic",
|
|
"importSource": "openinula"
|
|
}
|
|
],
|
|
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
|
["@babel/plugin-proposal-private-methods", { "loose": true }],
|
|
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
|
|
"@babel/plugin-transform-object-assign",
|
|
"@babel/plugin-transform-object-super",
|
|
["@babel/plugin-proposal-object-rest-spread", { "loose": true, "useBuiltIns": true }],
|
|
["@babel/plugin-transform-template-literals", { "loose": true }],
|
|
"@babel/plugin-transform-arrow-functions",
|
|
"@babel/plugin-transform-literals",
|
|
"@babel/plugin-transform-for-of",
|
|
"@babel/plugin-transform-block-scoped-functions",
|
|
"@babel/plugin-transform-classes",
|
|
"@babel/plugin-transform-shorthand-properties",
|
|
"@babel/plugin-transform-computed-properties",
|
|
"@babel/plugin-transform-parameters",
|
|
["@babel/plugin-transform-spread", { "loose": true, "useBuiltIns": true }],
|
|
["@babel/plugin-transform-block-scoping", { "throwIfClosureRequired": false }],
|
|
["@babel/plugin-transform-destructuring", { "loose": true, "useBuiltIns": true }],
|
|
"@babel/plugin-transform-runtime",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator",
|
|
"@babel/plugin-proposal-optional-chaining"
|
|
]
|
|
}
|