Skip to content

Commit

Permalink
fix: disable absoluteRuntime in babel-preset-react-app (#2155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangeeth Sudheer authored Mar 21, 2022
1 parent 3e92d09 commit b8fcb93
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
}
},
"react-big-calendar.js": {
"bundled": 1583203,
"minified": 445033,
"gzipped": 137433
"bundled": 1583365,
"minified": 445101,
"gzipped": 137464
},
"react-big-calendar.min.js": {
"bundled": 283207,
"minified": 281758,
"gzipped": 88844
"bundled": 283536,
"minified": 281826,
"gzipped": 88860
},
"react-big-calendar.esm.js": {
"bundled": 206455,
"minified": 97326,
"gzipped": 25439,
"bundled": 200119,
"minified": 93592,
"gzipped": 24251,
"treeshaked": {
"rollup": {
"code": 69823,
"import_statements": 1103
"code": 66279,
"import_statements": 1777
},
"webpack": {
"code": 72947
"code": 70059
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function (api) {
}),
},
],
'react-app',
['react-app', { absoluteRuntime: false }],
],
plugins: [
['@babel/plugin-transform-runtime'],
Expand Down

0 comments on commit b8fcb93

Please sign in to comment.