This PR is followup for https://github.com/electron/electron-compilers/pull/56, I missed to update compileSync in babel compiler. Since code is duplicated between async / sync since babel actually doesn't support async transform, I just extracted it into single function can be reused.
This PR is followup for https://github.com/electron/electron-compilers/pull/56, I missed to update
compileSync
in babel compiler. Since code is duplicated between async / sync since babel actually doesn't support async transform, I just extracted it into single function can be reused.