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

CLI: re-enable removal of dead code on minification

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Source Code