File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ module.exports = api => {
40
40
[ '@babel/plugin-proposal-class-properties' , { loose : true } ] ,
41
41
'@babel/plugin-proposal-export-default-from' ,
42
42
'@babel/plugin-proposal-export-namespace-from' ,
43
- [ '@babel/plugin-transform-runtime' , { useESModules : ! modules } ] ,
43
+ [
44
+ '@babel/plugin-transform-runtime' ,
45
+ { useESModules : ! modules , corejs : 2 }
46
+ ] ,
44
47
'babel-plugin-dev-expression' ,
45
48
modules && 'babel-plugin-add-module-exports' ,
46
49
api . env ( ) === 'test' && 'babel-plugin-istanbul'
Original file line number Diff line number Diff line change 114
114
"webpack" : " ^4.4.1"
115
115
},
116
116
"dependencies" : {
117
- "@babel/runtime" : " ^7.0.0" ,
117
+ "@babel/runtime-corejs2 " : " ^7.0.0" ,
118
118
"classnames" : " ^2.2.5" ,
119
119
"dom-helpers" : " ^3.2.0" ,
120
120
"invariant" : " ^2.2.4" ,
Original file line number Diff line number Diff line change 672
672
pirates "^4.0.0"
673
673
source-map-support "^0.5.9"
674
674
675
+ " @babel/runtime-corejs2@^7.0.0 " :
676
+ version "7.0.0"
677
+ resolved "https://registry.yarnpkg.com/@babel/runtime-corejs2/-/runtime-corejs2-7.0.0.tgz#786711ee099c2c2af7875638866c1259eff30a8c"
678
+ dependencies :
679
+ core-js "^2.5.7"
680
+ regenerator-runtime "^0.12.0"
681
+
675
682
" @babel/runtime@^7.0.0 " :
676
683
version "7.0.0"
677
684
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.0.0.tgz#adeb78fedfc855aa05bc041640f3f6f98e85424c"
You can’t perform that action at this time.
0 commit comments