File tree Expand file tree Collapse file tree 3 files changed +3132
-3656
lines changed Expand file tree Collapse file tree 3 files changed +3132
-3656
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,18 @@ module.exports = api => {
1010 '@babel/plugin-proposal-class-properties' ,
1111 '@babel/plugin-proposal-export-namespace-from' ,
1212 '@babel/plugin-proposal-export-default-from' ,
13- 'add-module-exports'
13+ 'add-module-exports' ,
14+ [
15+ 'polyfill-corejs3' ,
16+ {
17+ method : 'usage-pure'
18+ }
19+ ]
1420 ] ,
1521 presets : [
1622 [
1723 '@babel/preset-env' ,
1824 {
19- useBuiltIns : 'usage' ,
20- corejs : 2 ,
2125 modules : api . env ( 'commonjs' ) || api . env ( 'test' ) ? 'commonjs' : false ,
2226 forceAllTransforms : api . env ( 'production' )
2327 }
Original file line number Diff line number Diff line change 2626 "@babel/preset-env" : " ^7.4.0" ,
2727 "babel-eslint" : " ^10.0.1" ,
2828 "babel-plugin-add-module-exports" : " ^1.0.2" ,
29+ "babel-plugin-polyfill-corejs3" : " ^0.3.0" ,
2930 "eslint" : " ^4.18.1" ,
3031 "eslint-config-prettier" : " ^2.9.0" ,
3132 "eslint-plugin-prettier" : " ^2.6.0" ,
5758 },
5859 "dependencies" : {
5960 "@babel/runtime" : " ^7.3.1" ,
60- "core-js" : " ^2.5 .0" ,
61+ "core-js-pure " : " ^3.19 .0" ,
6162 "punycode" : " 1.4.1" ,
6263 "twemoji-parser" : " ^11.0.2"
6364 }
You can’t perform that action at this time.
0 commit comments