Skip to content

Commit b8fcb93

Browse files
author
Sangeeth Sudheer
authored
fix: disable absoluteRuntime in babel-preset-react-app (jquense#2155)
1 parent 3e92d09 commit b8fcb93

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.size-snapshot.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,26 @@
2424
}
2525
},
2626
"react-big-calendar.js": {
27-
"bundled": 1583203,
28-
"minified": 445033,
29-
"gzipped": 137433
27+
"bundled": 1583365,
28+
"minified": 445101,
29+
"gzipped": 137464
3030
},
3131
"react-big-calendar.min.js": {
32-
"bundled": 283207,
33-
"minified": 281758,
34-
"gzipped": 88844
32+
"bundled": 283536,
33+
"minified": 281826,
34+
"gzipped": 88860
3535
},
3636
"react-big-calendar.esm.js": {
37-
"bundled": 206455,
38-
"minified": 97326,
39-
"gzipped": 25439,
37+
"bundled": 200119,
38+
"minified": 93592,
39+
"gzipped": 24251,
4040
"treeshaked": {
4141
"rollup": {
42-
"code": 69823,
43-
"import_statements": 1103
42+
"code": 66279,
43+
"import_statements": 1777
4444
},
4545
"webpack": {
46-
"code": 72947
46+
"code": 70059
4747
}
4848
}
4949
}

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = function (api) {
1313
}),
1414
},
1515
],
16-
'react-app',
16+
['react-app', { absoluteRuntime: false }],
1717
],
1818
plugins: [
1919
['@babel/plugin-transform-runtime'],

0 commit comments

Comments
 (0)