Selaa lähdekoodia

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

fix #2470
GU Yiling 5 vuotta sitten
vanhempi
commit
20a704fc04
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      rollup.config.js

+ 2 - 1
rollup.config.js

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