mirror of
https://gitee.com/openharmony/developtools_ace_js2bundle
synced 2024-11-27 01:20:27 +00:00
parent
6ec4dbdc43
commit
7a2450e223
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user