diff --git a/rollup.config.js b/rollup.config.js index 1253a42e0db..ff0da348826 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -374,7 +374,11 @@ function createMinifiedConfig(/** @type {PackageFormat} */ format) { ) { const { code, map } = await minifySwc(contents, { module: format === 'es', - compress: true, + compress: { + ecma: 2016, + pure_getters: true, + }, + safari10: true, mangle: true, sourceMap: !!sourcemap, inlineSourcesContent: !sourcemapExcludeSources,