{ "id": "173780", "key": "TIMOB-27166", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2019-06-19T12:54:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "engSchedule" ], "versions": [], "issuelinks": [ { "id": "57698", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "173781", "key": "TIMOB-27167", "fields": { "summary": "CLI: Move Alloy optimizations into core SDK build", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "57696", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "170505", "key": "TIMOB-25573", "fields": { "summary": "CLI: iOS compiler breaks and compiles incorrectly when building to device - 6.3.0", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2020-07-17T13:30:22.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When we minify projects we explicitly turned off two options in the minified: \"mangling\" and \"dead code elimination\".\r\n\r\nThe first renames variables to shorter names.\r\n\r\nThe second removes chunks of code that should not be reached.\r\n\r\nWe 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.", "attachment": [], "flagged": false, "summary": "CLI: re-enable removal of dead code on minification", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }