From 20a704fc043b29c3c9baac602211c595ede728cf Mon Sep 17 00:00:00 2001 From: GU Yiling Date: Thu, 3 Dec 2020 03:23:13 +0800 Subject: [PATCH] fix(build): enable safari10 option for terser (#2472) fix #2470 --- rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 67856f135b8..7c5cc05c55a 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -259,7 +259,8 @@ function createMinifiedConfig(format) { compress: { ecma: 2015, pure_getters: true - } + }, + safari10: true }) ] )