File tree 3 files changed +19
-5
lines changed
3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
module . exports = {
11
+ babelrc : false ,
11
12
cacheDirectory : true ,
12
13
presets : [
13
14
'babel-preset-es2015' ,
@@ -18,6 +19,11 @@ module.exports = {
18
19
'babel-plugin-syntax-trailing-function-commas' ,
19
20
'babel-plugin-transform-class-properties' ,
20
21
'babel-plugin-transform-object-rest-spread'
21
- ] . map ( require . resolve ) ,
22
- babelrc : false
22
+ ] . map ( require . resolve ) . concat ( [
23
+ [ require . resolve ( 'babel-plugin-transform-runtime' ) , {
24
+ helpers : false ,
25
+ polyfill : false ,
26
+ regenerator : true
27
+ } ]
28
+ ] )
23
29
} ;
Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
module . exports = {
11
+ babelrc : false ,
11
12
presets : [
12
13
'babel-preset-es2015' ,
13
14
'babel-preset-es2016' ,
@@ -17,7 +18,12 @@ module.exports = {
17
18
'babel-plugin-syntax-trailing-function-commas' ,
18
19
'babel-plugin-transform-class-properties' ,
19
20
'babel-plugin-transform-object-rest-spread' ,
20
- 'babel-plugin-transform-react-constant-elements'
21
- ] . map ( require . resolve ) ,
22
- babelrc : false
21
+ 'babel-plugin-transform-react-constant-elements' ,
22
+ ] . map ( require . resolve ) . concat ( [
23
+ [ require . resolve ( 'babel-plugin-transform-runtime' ) , {
24
+ helpers : false ,
25
+ polyfill : false ,
26
+ regenerator : true
27
+ } ]
28
+ ] )
23
29
} ;
Original file line number Diff line number Diff line change 35
35
"babel-plugin-transform-class-properties" : " 6.10.2" ,
36
36
"babel-plugin-transform-object-rest-spread" : " 6.8.0" ,
37
37
"babel-plugin-transform-react-constant-elements" : " 6.9.1" ,
38
+ "babel-plugin-transform-runtime" : " 6.12.0" ,
38
39
"babel-preset-es2015" : " 6.9.0" ,
39
40
"babel-preset-es2016" : " 6.11.3" ,
40
41
"babel-preset-react" : " 6.11.1" ,
42
+ "babel-runtime" : " 6.11.6" ,
41
43
"chalk" : " 1.1.3" ,
42
44
"cross-spawn" : " 4.0.0" ,
43
45
"css-loader" : " 0.23.1" ,
You can’t perform that action at this time.
0 commit comments