Skip to content

Commit

Permalink
chore(react-storage): add bundle size tests for FileUploader and Stor…
Browse files Browse the repository at this point in the history
…ageImage (#5766)
  • Loading branch information
calebpollman authored Sep 9, 2024
1 parent 9b310db commit e90f6f4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/react-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}

0 comments on commit e90f6f4

Please sign in to comment.