From 5e5e2572fd6a6ce574f4c732d44a9aacab029d1e Mon Sep 17 00:00:00 2001 From: qiang Date: Wed, 24 Feb 2021 19:23:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8C=87=E5=AE=9A=20@babel/runtime=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- generator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/generator.js b/generator.js index 112bca5..03f000d 100644 --- a/generator.js +++ b/generator.js @@ -40,6 +40,7 @@ module.exports = (api, options, rootOptions) => { '@dcloudio/uni-helper-json': '*' }, devDependencies: { + "@babel/runtime": "~7.12.0",// 临时指定版本,7.13.x 会报错 'postcss-comment': '^2.0.0', '@dcloudio/types': '*', 'miniprogram-api-typings': '*',