Skip to content

Commit 171e138

Browse files
committed
chore: update esbuild and bundlesize
1 parent a80a8c2 commit 171e138

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

bundlesize.config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"files": [
33
{
44
"path": "./dist/react-tooltip.cjs.min.js",
5-
"maxSize": "13.5 kB"
5+
"maxSize": "11 kB"
66
},
77
{
88
"path": "./dist/react-tooltip.esm.min.js",
9-
"maxSize": "13.5 kB"
9+
"maxSize": "11 kB"
1010
},
1111
{
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"
1414
}
1515
]
1616
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"bundlesize": "bundlesize",
1616
"esbuild": "esbuild",
1717
"test": "jest",
18-
"postbuild": "npm run types"
18+
"postbuild": "npm run types && npm run bundlesize"
1919
},
2020
"main": "dist/react-tooltip.cjs.min.js",
2121
"module": "dist/react-tooltip.esm.min.js",

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
/* Language and Environment */
1616
"target": "es2018" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
1717
"lib": [
18-
"es2017",
19-
"ESNext",
18+
"es2018",
2019
"DOM"
2120
] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
2221
"jsx": "react-jsx" /* Specify what JSX code is generated. */,

0 commit comments

Comments
 (0)