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

Webpack: Add common JS sources as entry point


    • Type: Improvement
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 9.0.0
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:


      Currently we pre-bundle our common JS sources with Rollup and transpile them with Babel to the minimum supported platform JS runtime. This also includes all polyfills required for that runtime. However, on iOS the user can increase the minimum deployment target for their app. This results in unnecessary polyfills being included in our commons JS bundle.

      With Webpack it will would be possible to transpile our common JS sources for each app project individually, respecting the minimum iOS deployment target configured by users in their tiapp.xml. Our common JS sources and the user's code would then only include the polyfills actually required for the target JS runtime.




            • Assignee:
              jvennemann Jan Vennemann
              jvennemann Jan Vennemann
            • Watchers:
              2 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