From bb1b57cae51682e80648e7dcec8e995cdbc739e2 Mon Sep 17 00:00:00 2001 From: Vini Andrade Date: Mon, 21 Sep 2020 14:37:22 +0200 Subject: [PATCH] Make sure we compress jsons while bundling Signed-off-by: Vini Andrade --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 707503eb3..f024abd1c 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -115,7 +115,7 @@ const basePlugins = [ }, ), // Json to ES modules conversion - json(), + json({ compact: true }), process.env.BUNDLE_SIZE ? visualizer() : null, ];