From 11ca28b92e6fad51960d98438818221d3897583f Mon Sep 17 00:00:00 2001 From: merceyz Date: Sat, 28 Sep 2019 19:54:39 +0200 Subject: [PATCH] build: improve terser output --- rollup.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rollup.config.js b/rollup.config.js index 74b4982..d4a89a8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -16,6 +16,10 @@ export default { commonjs(), terser({ toplevel: true, + compress: { + pure_getters: true, + pure_funcs: ['path.join'], + }, }), ], };