Przeglądaj źródła

fix(build): enable safari10 option for terser (#2472)

fix #2470
GU Yiling 5 lat temu
rodzic
commit
20a704fc04
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      rollup.config.js

+ 2 - 1
rollup.config.js

@@ -259,7 +259,8 @@ function createMinifiedConfig(format) {
         compress: {
           ecma: 2015,
           pure_getters: true
-        }
+        },
+        safari10: true
       })
     ]
   )