diff --git a/babel.config.js b/babel.config.js index 3e49b7a..4bbe90e 100644 --- a/babel.config.js +++ b/babel.config.js @@ -6,7 +6,7 @@ module.exports = { framework: 'react', ts: true, compiler: 'vite', - useBuiltIns: process.env.TARO_ENV === 'h5' ? 'usage' : false + useBuiltIns: false }] ] }