This PR forwards source map object generated by compiler (for now babel and TypeScript only), into compile result object. This property will be filled if compiler option specifies to enable non-inline source map, someone who wants to have separate source map in some usecases (like production code, to uploade source map into telemetry / analytics to reconstruct mapped stack traces from release build).
Still, this change doesn't enable complete source map consumption since electron-compile doesn't utilize this property yet at this moment. This PR is ground work to make changes into electron-compile.
This PR forwards source map object generated by compiler (for now
babel
andTypeScript
only), into compile result object. This property will be filled if compiler option specifies to enable non-inline source map, someone who wants to have separate source map in some usecases (like production code, to uploade source map into telemetry / analytics to reconstruct mapped stack traces from release build).Still, this change doesn't enable complete source map consumption since
electron-compile
doesn't utilize this property yet at this moment. This PR is ground work to make changes intoelectron-compile
.