Skip to content

Commit 789675f

Browse files
committed
fix(build): use consistent minify options from previous terser config
1 parent f1aae57 commit 789675f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,11 @@ function createMinifiedConfig(/** @type {PackageFormat} */ format) {
374374
) {
375375
const { code, map } = await minifySwc(contents, {
376376
module: format === 'es',
377-
compress: true,
377+
compress: {
378+
ecma: 2016,
379+
pure_getters: true,
380+
},
381+
safari10: true,
378382
mangle: true,
379383
sourceMap: !!sourcemap,
380384
inlineSourcesContent: !sourcemapExcludeSources,

0 commit comments

Comments
 (0)