Skip to content

Commit d108472

Browse files
feat: 💚 added file-size dependency
1 parent 298fe27 commit d108472

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"@types/react-dom": "^17.0.0",
3838
"babel-loader": "^8.2.2",
3939
"eslint-plugin-prettier": "^3.3.0",
40+
"filesize": "^6.1.0",
4041
"husky": "^4.3.6",
4142
"prettier": "^2.2.1",
4243
"react": "^17.0.1",
@@ -68,6 +69,16 @@
6869
"./dist/*.production.min.js"
6970
]
7071
},
72+
"size-limit": [
73+
{
74+
"path": "dist/react-multi-select-component.cjs.production.min.js",
75+
"limit": "10 KB"
76+
},
77+
{
78+
"path": "dist/react-multi-select-component.esm.js",
79+
"limit": "10 KB"
80+
}
81+
],
7182
"keywords": [
7283
"react",
7384
"multi",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6443,6 +6443,11 @@ filesize@6.0.1:
64436443
resolved "https://registry.yarnpkg.com/filesize/-/filesize-6.0.1.tgz#f850b509909c7c86f7e450ea19006c31c2ed3d2f"
64446444
integrity sha512-u4AYWPgbI5GBhs6id1KdImZWn5yfyFrrQ8OWZdN7ZMfA8Bf4HcO0BGo9bmUIEV8yrp8I1xVfJ/dn90GtFNNJcg==
64456445

6446+
filesize@^6.1.0:
6447+
version "6.1.0"
6448+
resolved "https://registry.yarnpkg.com/filesize/-/filesize-6.1.0.tgz#e81bdaa780e2451d714d71c0d7a4f3238d37ad00"
6449+
integrity sha512-LpCHtPQ3sFx67z+uh2HnSyWSLLu5Jxo21795uRDuar/EOuYWXib5EmPaGIBuSnRqH2IODiKA2k5re/K9OnN/Yg==
6450+
64466451
fill-range@^4.0.0:
64476452
version "4.0.0"
64486453
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7"

0 commit comments

Comments
 (0)