From 3566d4e096316ef1e7364bc116c3674b23218e6d Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Sat, 15 Jul 2023 00:25:19 +0200 Subject: [PATCH] Update size-limit to use Brotli --- package.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3a4ffc0..5cc3b1f 100644 --- a/package.json +++ b/package.json @@ -104,12 +104,14 @@ }, "size-limit": [ { - "limit": "7 KB", - "path": "./dist/shareon.min.css" + "limit": "6 KB", + "path": "./dist/shareon.min.css", + "brotli": true }, { - "limit": "1069 B", - "path": "./dist/shareon.es.js" + "limit": "1 KB", + "path": "./dist/shareon.es.js", + "brotli": true } ], "publishConfig": {