Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24610

Support ES6 by transpiling to ES5 via new tiapp.xml "transpile" property


    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.1.0
    • Component/s: None
    • Labels:


      Not all of our target platforms/OSes natively support ES6 code. So while we may be able to support "passing" ES6+ code through our tooling with TIMOB-24609, that raises an issue of users being able to write ES6/7 code that the JS engine doesn't yet support.

      Given that we current support iOS 8 as minimum for Titanium 6 this makes this a pretty important feature.

      As seen here: https://kangax.github.io/compat-table/es6/

      • iOS 8 only supports roughly 17% of ES6 feature set. iOS 9 supports 54%; while iOS 10 is 100%.
      • The issue is much less important on Android since we are currently on v8 5.1 which supports 97% of ES6.
      • I'd have to research further for Windows, but I believe we're closer to an Android situation where virtually all of ES6 is supported.


          Issue Links



              • Assignee:
                cwilliams Christopher Williams
                cwilliams Christopher Williams
                Jan Vennemann
              • Watchers:
                13 Start watching this issue


                • Created:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration