From e90f6f4e060c5f2d4541b8bfd167b1680ced2586 Mon Sep 17 00:00:00 2001 From: Caleb Pollman Date: Mon, 9 Sep 2024 09:19:05 -0700 Subject: [PATCH] chore(react-storage): add bundle size tests for FileUploader and StorageImage (#5766) --- packages/react-storage/package.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/react-storage/package.json b/packages/react-storage/package.json index 08898f3bb9c..2c0d570024b 100644 --- a/packages/react-storage/package.json +++ b/packages/react-storage/package.json @@ -54,11 +54,23 @@ "dist/**/*.css" ], "size-limit": [ + { + "name": "FileUploader", + "path": "dist/esm/index.mjs", + "import": "{ FileUploader }", + "limit": "25 kB" + }, + { + "name": "StorageImage", + "path": "dist/esm/index.mjs", + "import": "{ StorageImage }", + "limit": "17 kB" + }, { "name": "StorageManager", "path": "dist/esm/index.mjs", "import": "{ StorageManager }", - "limit": "25.5 kB" + "limit": "25 kB" } ] }