25 lines
702 B
JavaScript
25 lines
702 B
JavaScript
module.exports = {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"useBuiltIns": "usage",
|
|
"corejs": "3.36"
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-transform-arrow-functions",
|
|
["@babel/plugin-proposal-decorators", { "legacy": true }],
|
|
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
|
["@babel/plugin-transform-object-rest-spread"],
|
|
["@babel/plugin-transform-for-of"],
|
|
["@babel/plugin-transform-runtime"],
|
|
[
|
|
"@babel/plugin-transform-modules-commonjs",
|
|
{
|
|
"allowTopLevelThis": true
|
|
}
|
|
]
|
|
]
|
|
} |