Match-id-05c730aad88e045e7c8d0445e5f06332b5b7ada8

This commit is contained in:
* 2022-07-20 18:46:47 +08:00 committed by *
commit b3a31a6f1b
3 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@ module.exports = {
{ loose: true, useBuiltIns: true },
],
['@babel/plugin-transform-template-literals', { loose: true }],
'@babel/plugin-transform-object-assign',
'@babel/plugin-transform-literals',
'@babel/plugin-transform-arrow-functions',
'@babel/plugin-transform-block-scoped-functions',

View File

@ -8,7 +8,9 @@ export function readonlyProxy<T extends object>(target: T): ProxyHandler<T> {
if (isObject(result)) {
return readonlyProxy(result);
}
} catch {}
} catch(err) {
// 不处理
}
return result;
},

View File

@ -30,6 +30,7 @@
"@babel/plugin-transform-destructuring": "7.16.7",
"@babel/plugin-transform-for-of": "7.16.7",
"@babel/plugin-transform-literals": "7.16.7",
"@babel/plugin-transform-object-assign": "7.16.7",
"@babel/plugin-transform-object-super": "7.16.7",
"@babel/plugin-transform-parameters": "7.16.7",
"@babel/plugin-transform-runtime": "7.16.7",