[TIMOB-26333] Generate source maps for transpiled code
| GitHub Issue | n/a |
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2018-09-18T18:10:16.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 7.5.0 |
| Components | Android, iOS, Windows |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Gary Mathews |
| Created | 2018-08-23T17:52:40.000+0000 |
| Updated | 2019-10-11T12:54:43.000+0000 |
Description
- Currently, we do not generate any source maps for transpiled JS code. Babel can produce a source map that can be used when debugging with Inspector.
Attachments
titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/10280 node-titanium-sdk: https://github.com/appcelerator/node-titanium-sdk/pull/44
*Closing ticket.* Verified improvement on SDK Version
7.5.0.v20181008124804.Able to see generated source maps for transpiled code. *FR Passed (Test Steps)*Created a new Titanium project
Added the following properties in to the
Tiapp.xml<source-maps>true</source-maps> <transpile>true</transpile>Ran the program using
Opened the chrome dev tools
Able to see source maps
*Test Environment*