File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ module.exports = api => {
4040 [ '@babel/plugin-proposal-class-properties' , { loose : true } ] ,
4141 '@babel/plugin-proposal-export-default-from' ,
4242 '@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+ ] ,
4447 'babel-plugin-dev-expression' ,
4548 modules && 'babel-plugin-add-module-exports' ,
4649 api . env ( ) === 'test' && 'babel-plugin-istanbul'
Original file line number Diff line number Diff line change 114114 "webpack" : " ^4.4.1"
115115 },
116116 "dependencies" : {
117- "@babel/runtime" : " ^7.0.0" ,
117+ "@babel/runtime-corejs2 " : " ^7.0.0" ,
118118 "classnames" : " ^2.2.5" ,
119119 "dom-helpers" : " ^3.2.0" ,
120120 "invariant" : " ^2.2.4" ,
Original file line number Diff line number Diff line change 672672 pirates "^4.0.0"
673673 source-map-support "^0.5.9"
674674
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+
675682" @babel/runtime@^7.0.0 " :
676683 version "7.0.0"
677684 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