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

CLI: re-enable removal of dead code on minification


    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:


      When we minify projects we explicitly turned off two options in the minified: "mangling" and "dead code elimination".

      The first renames variables to shorter names.

      The second removes chunks of code that should not be reached.

      We turned both of these off to "fix" TIMOB-25573, but I believe that we should revisit and see if this is still an issue. Ideally we'd try to turn these options back on, especially since we'd like to move more aggressive optimizations from Alloy into the SDK core build for inlining true/false for platform/deploy type/distribution variables/guards.


          Issue Links



              • Assignee:
                cwilliams Christopher Williams
                cwilliams Christopher Williams
              • Watchers:
                5 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