Match-id-05c730aad88e045e7c8d0445e5f06332b5b7ada8
This commit is contained in:
commit
b3a31a6f1b
|
@ -11,6 +11,7 @@ module.exports = {
|
||||||
{ loose: true, useBuiltIns: true },
|
{ loose: true, useBuiltIns: true },
|
||||||
],
|
],
|
||||||
['@babel/plugin-transform-template-literals', { loose: true }],
|
['@babel/plugin-transform-template-literals', { loose: true }],
|
||||||
|
'@babel/plugin-transform-object-assign',
|
||||||
'@babel/plugin-transform-literals',
|
'@babel/plugin-transform-literals',
|
||||||
'@babel/plugin-transform-arrow-functions',
|
'@babel/plugin-transform-arrow-functions',
|
||||||
'@babel/plugin-transform-block-scoped-functions',
|
'@babel/plugin-transform-block-scoped-functions',
|
||||||
|
|
|
@ -8,7 +8,9 @@ export function readonlyProxy<T extends object>(target: T): ProxyHandler<T> {
|
||||||
if (isObject(result)) {
|
if (isObject(result)) {
|
||||||
return readonlyProxy(result);
|
return readonlyProxy(result);
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch(err) {
|
||||||
|
// 不处理
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
"@babel/plugin-transform-destructuring": "7.16.7",
|
"@babel/plugin-transform-destructuring": "7.16.7",
|
||||||
"@babel/plugin-transform-for-of": "7.16.7",
|
"@babel/plugin-transform-for-of": "7.16.7",
|
||||||
"@babel/plugin-transform-literals": "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-object-super": "7.16.7",
|
||||||
"@babel/plugin-transform-parameters": "7.16.7",
|
"@babel/plugin-transform-parameters": "7.16.7",
|
||||||
"@babel/plugin-transform-runtime": "7.16.7",
|
"@babel/plugin-transform-runtime": "7.16.7",
|
||||||
|
|
Loading…
Reference in New Issue