From bc17d9b9e7ea5a6b2d78b73b6b8aee4af1f8eb61 Mon Sep 17 00:00:00 2001 From: Justineo Date: Fri, 23 Oct 2020 19:58:20 +0800 Subject: [PATCH] fix: enable safari10 option for terser (close #2470) --- rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 023e3bd8bb4..2837e1c2e29 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -259,7 +259,8 @@ function createMinifiedConfig(format) { compress: { ecma: 2015, pure_getters: true - } + }, + safari10: true }) ] )