File tree Expand file tree Collapse file tree 5 files changed +5
-3
lines changed Expand file tree Collapse file tree 5 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
],
11
11
" react"
12
12
],
13
- "plugins" : [" transform-class-properties" ]
13
+ "plugins" : [" transform-class-properties" , " transform-object-rest-spread " ]
14
14
}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ const server = new webpackDevServer(webpack(internalServer.webpackConf(process.a
19
19
version : false ,
20
20
hash : false ,
21
21
} ,
22
+ disableHostCheck : true ,
22
23
proxy : internalServer . proxy ( process . argv ) ,
23
24
publicPath : config . publicPath ,
24
25
} ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require('babel-register')({
18
18
] ,
19
19
'react'
20
20
] ,
21
- 'plugins' : [ 'transform-class-properties' ]
21
+ 'plugins' : [ 'transform-class-properties' , 'transform-object-rest-spread' ]
22
22
} ) ;
23
23
24
24
const ReactDOMServer = require ( 'react-dom/server' )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require('babel-register')({
10
10
] ,
11
11
"react"
12
12
] ,
13
- "plugins" : [ "transform-class-properties" ]
13
+ "plugins" : [ "transform-class-properties" , "transform-object-rest-spread" ]
14
14
} ) ;
15
15
16
16
var jsdom = require ( 'jsdom' ) . jsdom ;
Original file line number Diff line number Diff line change 43
43
"babel-eslint" : " ^7.2.3" ,
44
44
"babel-loader" : " ^7.0.0" ,
45
45
"babel-plugin-transform-class-properties" : " ^6.24.1" ,
46
+ "babel-plugin-transform-object-rest-spread" : " ^6.23.0" ,
46
47
"babel-preset-env" : " ^1.5.2" ,
47
48
"babel-preset-react" : " ^6.23.0" ,
48
49
"babel-register" : " ^6.24.0" ,
You can’t perform that action at this time.
0 commit comments