This repository was archived by the owner on Oct 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const defaultOptions = {
1919 {
2020 loader : require . resolve ( 'babel-loader' ) ,
2121 options : {
22- presets : [ 'babel- preset-env' , 'babel- preset-react' ] . map ( require . resolve ) ,
22+ presets : [ '@ babel/ preset-env' , '@ babel/ preset-react' ] . map ( require . resolve ) ,
2323 } ,
2424 } ,
2525 ] ,
@@ -146,9 +146,7 @@ const preprocessor = (options = {}) => {
146146 log ( 'watching' )
147147 }
148148
149- const bundler = file . shouldWatch
150- ? compiler . watch ( watchOptions , handle )
151- : compiler . run ( handle )
149+ const bundler = file . shouldWatch ? compiler . watch ( watchOptions , handle ) : compiler . run ( handle )
152150
153151 // when the spec or project is closed, we need to clean up the cached
154152 // bundle promise and stop the watcher via `bundler.close()`
Original file line number Diff line number Diff line change 5555 "sinon-chai" : " 2.13.0"
5656 },
5757 "dependencies" : {
58- "babel- core" : " 6.26 .0" ,
59- "babel-loader " : " 7.1.4 " ,
60- "babel- preset-env " : " 1.6 .0" ,
61- "babel-preset-react " : " 6.24.1 " ,
58+ "@ babel/ core" : " ^7.0 .0" ,
59+ "@ babel/preset-env " : " ^7.0.0 " ,
60+ "@ babel/ preset-react " : " ^7.0 .0" ,
61+ "babel-loader " : " ^8.0.0 " ,
6262 "bluebird" : " 3.5.0" ,
6363 "debug" : " 3.1.0" ,
6464 "lodash.clonedeep" : " 4.5.0" ,
You can’t perform that action at this time.
0 commit comments