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 Jan 26, 2021
1 parent 6828a22 commit bb1b57c
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 @@ -115,7 +115,7 @@ const basePlugins = [
},
),
// Json to ES modules conversion
json(),
json({ compact: true }),
process.env.BUNDLE_SIZE ? visualizer() : null,
];

Expand Down

0 comments on commit bb1b57c

Please sign in to comment.