Skip to content

Commit 663000e

Browse files
fix: remove terser option pure_getters: true, avoid wrong tree-shaking (#754)
1 parent bd2cfb5 commit 663000e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rollup.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,7 @@ function createMinifiedConfig(format) {
326326
terser({
327327
module: /^esm/.test(format),
328328
compress: {
329-
ecma: 2015,
330-
pure_getters: true
329+
ecma: 2015
331330
}
332331
})
333332
]

0 commit comments

Comments
 (0)