[TIMOB-25861] Liveview: Support transpiling user code
GitHub Issue | n/a |
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-11-27T19:56:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.0.0 |
Components | LiveView |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2018-03-13T10:32:55.000+0000 |
Updated | 2019-01-11T11:57:07.000+0000 |
Description
Description
We added babel transpilation in SDK 7.1.0 (TIMOB-24610), as liveview passes the code to the app we need to introduce a transpilation step there to ensure that the code works as expected. We can pull in node-titanium-sdk to implement this as the information we need to pass down to babel should be available in off the builder property
Comments
JSON Source
PR: https://github.com/appcelerator/node-titanium-sdk/pull/29
Changes still need to be merged into liveview https://github.com/appcelerator/liveview/pull/111, removing fixVersion as this wont ship in the SDK (can we add liveview fixVersions maybe?)
PR: https://github.com/appcelerator/liveview/pull/113
Can we please get this into 7.5.0 or a related CLI release? This is absolutely fundamental to work with Titanium right now. ES6 is widely promoted across the place but it becomes useless without the dev-environment (liveview, editors).
titanium_mobile PR here https://github.com/appcelerator/titanium_mobile/pull/10482
Merged in https://github.com/appcelerator/titanium_mobile/pull/10482