Signed-off-by: 卡哥 <lizhouze@huawei.com>
This commit is contained in:
卡哥 2023-02-10 14:36:50 +08:00
parent 6ec4dbdc43
commit 7a2450e223

View File

@ -23,10 +23,10 @@ module.exports = function(api) {
{'allowTopLevelThis': true}
],
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-runtime'
];
if (process.env.DEVICE_LEVEL === 'lite') {
const liteArray = [
'@babel/plugin-transform-runtime',
[
'@babel/plugin-transform-arrow-functions',
{spec: true},