File tree Expand file tree Collapse file tree 5 files changed +12
-17
lines changed Expand file tree Collapse file tree 5 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 36
36
"@babel/core" : " ^7.4.3" ,
37
37
"@babel/plugin-proposal-class-properties" : " ^7.4.0" ,
38
38
"@babel/plugin-transform-runtime" : " ^7.4.3" ,
39
- "@babel/polyfill" : " ^7.4.3" ,
40
39
"@babel/preset-env" : " ^7.4.3" ,
41
40
"@babel/preset-react" : " ^7.0.0" ,
42
41
"@babel/register" : " ^7.4.0" ,
56
55
"babel-loader" : " ^8.0.5" ,
57
56
"camelcase" : " ^5.3.1" ,
58
57
"commander" : " ^2.20.0" ,
58
+ "core-js" : " ^3.0.1" ,
59
59
"cors" : " ^2.8.5" ,
60
60
"cwd" : " ^0.10.0" ,
61
61
"errorhandler" : " ^1.5.0" ,
73
73
"query-string" : " ^6.4.2" ,
74
74
"react-apollo" : " ^2.5.3" ,
75
75
"react-router-dom" : " ^5.0.0" ,
76
+ "regenerator-runtime" : " ^0.13.2" ,
76
77
"slugify" : " ^1.3.4" ,
77
78
"tiny-glob" : " ^0.2.6" ,
78
79
"webpack" : " ^4.29.6" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const nodeConfig = opts => ({
15
15
{
16
16
loose : true ,
17
17
useBuiltIns : 'entry' ,
18
- corejs : 'core-js@2 ' ,
18
+ corejs : 'core-js@3 ' ,
19
19
targets : {
20
20
node : 'current' ,
21
21
} ,
@@ -35,7 +35,7 @@ const webConfig = opts => ({
35
35
modules : false ,
36
36
loose : true ,
37
37
useBuiltIns : 'entry' ,
38
- corejs : 'core-js@2 ' ,
38
+ corejs : 'core-js@3 ' ,
39
39
...opts [ 'preset-env' ] ,
40
40
} ,
41
41
] ,
Original file line number Diff line number Diff line change 1
- import '@babel/polyfill '
1
+ import 'core-js '
2
2
3
3
export { default as Html } from '__smooth_html'
4
4
export { default as Root } from './Root'
Original file line number Diff line number Diff line change 1
- import '@babel/polyfill'
1
+ import 'core-js'
2
+ import 'regenerator-runtime/runtime'
3
+
2
4
import React from 'react'
3
5
import ReactDOM from 'react-dom'
4
6
import { BrowserRouter } from 'react-router-dom'
Original file line number Diff line number Diff line change 746
746
" @babel/helper-regex" " ^7.4.3"
747
747
regexpu-core "^4.5.4"
748
748
749
- " @babel/polyfill@^7.4.3 " :
750
- version "7.4.3"
751
- resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.4.3.tgz#332dc6f57b718017c3a8b37b4eea8aa6eeac1187"
752
- integrity sha512-rkv8WIvJshA5Ev8iNMGgz5WZkRtgtiPexiT7w5qevGTuT7ZBfM3de9ox1y9JR5/OXb/sWGBbWlHNa7vQKqku3Q==
753
- dependencies :
754
- core-js "^2.6.5"
755
- regenerator-runtime "^0.13.2"
756
-
757
749
" @babel/preset-env@^7.4.3 " :
758
750
version "7.4.3"
759
751
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.3.tgz#e71e16e123dc0fbf65a52cbcbcefd072fbd02880"
@@ -3996,10 +3988,10 @@ core-js@^1.0.0:
3996
3988
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
3997
3989
integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=
3998
3990
3999
- core-js@^2.6.5 :
4000
- version "2.6.5 "
4001
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5 .tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895 "
4002
- integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A ==
3991
+ core-js@^3.0.1 :
3992
+ version "3.0.1 "
3993
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.1 .tgz#1343182634298f7f38622f95e73f54e48ddf4738 "
3994
+ integrity sha512-sco40rF+2KlE0ROMvydjkrVMMG1vYilP2ALoRXcYR4obqbYIuV3Bg+51GEDW+HF8n7NRA+iaA4qD0nD9lo9mew ==
4003
3995
4004
3996
core-util-is@1.0.2, core-util-is@~1.0.0 :
4005
3997
version "1.0.2"
You can’t perform that action at this time.
0 commit comments