File tree 3 files changed +6
-7
lines changed 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 2
2
"files" : [
3
3
{
4
4
"path" : " ./dist/react-tooltip.cjs.min.js" ,
5
- "maxSize" : " 13.5 kB"
5
+ "maxSize" : " 11 kB"
6
6
},
7
7
{
8
8
"path" : " ./dist/react-tooltip.esm.min.js" ,
9
- "maxSize" : " 13.5 kB"
9
+ "maxSize" : " 11 kB"
10
10
},
11
11
{
12
- "path" : " ./dist/react-tooltip.umd .min.js" ,
13
- "maxSize" : " 13.5 kB"
12
+ "path" : " ./dist/react-tooltip.iife .min.js" ,
13
+ "maxSize" : " 11 kB"
14
14
}
15
15
]
16
16
}
Original file line number Diff line number Diff line change 15
15
"bundlesize" : " bundlesize" ,
16
16
"esbuild" : " esbuild" ,
17
17
"test" : " jest" ,
18
- "postbuild" : " npm run types"
18
+ "postbuild" : " npm run types && npm run bundlesize "
19
19
},
20
20
"main" : " dist/react-tooltip.cjs.min.js" ,
21
21
"module" : " dist/react-tooltip.esm.min.js" ,
Original file line number Diff line number Diff line change 15
15
/* Language and Environment */
16
16
"target" : " es2018" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ ,
17
17
"lib" : [
18
- " es2017" ,
19
- " ESNext" ,
18
+ " es2018" ,
20
19
" DOM"
21
20
] /* Specify a set of bundled library declaration files that describe the target runtime environment. */ ,
22
21
"jsx" : " react-jsx" /* Specify what JSX code is generated. */ ,
You can’t perform that action at this time.
0 commit comments