Skip to content

Commit

Permalink
Make sure we compress jsons while bundling
Browse files Browse the repository at this point in the history
Signed-off-by: Vini Andrade <[email protected]>
  • Loading branch information
vini-btc committed Sep 23, 2020
1 parent ca4839e commit d166b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const basePlugins = [
},
),
// Json to ES modules conversion
json(),
json({ compact: true }),
process.env.BUNDLE_SIZE ? visualizer() : null,
];

Expand Down

0 comments on commit d166b33

Please sign in to comment.