File tree Expand file tree Collapse file tree 3 files changed +289
-364
lines changed
Expand file tree Collapse file tree 3 files changed +289
-364
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = {
1616 ) ,
1717 size : {
1818 description : "check the size of the bundle" ,
19- script : "bundlesize " ,
19+ script : "size-limit " ,
2020 } ,
2121 } ,
2222 build : {
Original file line number Diff line number Diff line change 5353 "babel-core" : " ^7.0.0-bridge.0" ,
5454 "babel-eslint" : " ^10.1.0" ,
5555 "babel-jest" : " ^29.7.0" ,
56- "bundlesize" : " ^0.18.2" ,
56+ "@size-limit/preset-small-lib" : " ^11.1.6" ,
57+ "size-limit" : " ^11.1.6" ,
5758 "doctoc" : " ^2.2.1" ,
5859 "dtslint" : " ^4.2.1" ,
5960 "eslint" : " ^9.27.0" ,
100101 " /typescript/"
101102 ]
102103 },
103- "bundlesize " : [
104+ "size-limit " : [
104105 {
105106 "path" : " dist/react-final-form.umd.min.js" ,
106- "threshold " : " 2kB "
107+ "limit " : " 4kB "
107108 },
108109 {
109110 "path" : " dist/react-final-form.es.js" ,
110- "threshold " : " 3kB "
111+ "limit " : " 4kB "
111112 },
112113 {
113114 "path" : " dist/react-final-form.cjs.js" ,
114- "threshold " : " 3kB "
115+ "limit " : " 4kB "
115116 }
116117 ],
117118 "collective" : {
You can’t perform that action at this time.
0 commit comments