Skip to content

Commit 562f49d

Browse files
committed
reduce bundle size
1 parent 38135b4 commit 562f49d

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.browserslistrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ const presets = [
22
[
33
'@babel/env',
44
{
5+
targets: {
6+
edge: '17',
7+
firefox: '60',
8+
chrome: '67',
9+
safari: '11.1'
10+
},
511
useBuiltIns: 'usage'
612
}
713
],

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
],
2323
"author": "Mohsin Ul Haq <[email protected]>",
2424
"license": "MIT",
25+
"browserslist": [
26+
"last 2 Chrome versions",
27+
"last 2 Firefox versions",
28+
"last 1 Edge version",
29+
"last 1 Safari version"
30+
],
2531
"peerDependencies": {
2632
"react": "^16.5.0",
2733
"react-dom": "^16.5.0"

0 commit comments

Comments
 (0)