From abfdc45a404df4a491f28db2713ddfe9e2a95aa4 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 29 Feb 2024 17:34:41 +0100 Subject: [PATCH] fix(vanilla): disable mangle --- packages/hover-vanilla/rollup.config.js | 2 +- packages/vanilla/rollup.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hover-vanilla/rollup.config.js b/packages/hover-vanilla/rollup.config.js index 9a70f173..79beb492 100644 --- a/packages/hover-vanilla/rollup.config.js +++ b/packages/hover-vanilla/rollup.config.js @@ -12,7 +12,7 @@ const plugins = ({ compress }) => [ commonjs(), nodeResolve(), - compress && terser(), + compress && terser({ mangle: false }), filesize(), visualizer({ template: 'treemap' }), replace({ diff --git a/packages/vanilla/rollup.config.js b/packages/vanilla/rollup.config.js index 3754e222..027a9c6f 100644 --- a/packages/vanilla/rollup.config.js +++ b/packages/vanilla/rollup.config.js @@ -8,7 +8,7 @@ import terser from '@rollup/plugin-terser' const plugins = ({ compress }) => [ commonjs(), nodeResolve(), - compress && terser(), + compress && terser({ mangle: false }), filesize(), visualizer({ template: 'treemap' }), replace({