electron-userland / electron-compilers

DEPRECATED: Compiler implementations for electron-compile
35 stars 52 forks source link

feat(babel): support emit sourcemaps for babel sync compile #57

Closed kwonoj closed 7 years ago

kwonoj commented 7 years ago

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.

kwonoj commented 7 years ago

@paulcbetts updated!