{ "id": "168508", "key": "AC-5040", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2017-06-20T12:17:17.000+0000", "created": "2017-06-20T06:28:41.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-20T12:25:42.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "When using a large javascript file in /lib/ it takes around 10 minutes to get the iOS simulator running.\r\nThe file present is math.min.js which is around 475kB.\r\nHow can I exclude this file being optimized?", "attachment": [], "flagged": false, "summary": "Building an Appcelerator app takes ages... optimize javascript file", "creator": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "422360", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "All Javascript files are encrypted to ensure security. You could build a common-js module that accesses this library, then it would be minified and pre-compiled during module build, not app build.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-20T12:16:54.000+0000", "updated": "2017-06-20T12:16:54.000+0000" }, { "id": "422361", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Tried that, but both the common-js module and the library are in the /lib directory... as a result both of them are optimized...", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-20T12:19:10.000+0000", "updated": "2017-06-20T12:19:10.000+0000" }, { "id": "422363", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I do not mean to place it inside {{lib}}, I mean to actually compile a module for the {{commonjs}} platform, like our [Ti.OAuth|https://github.com/appcelerator-modules/ti.oauth] module does :-).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-20T12:22:33.000+0000", "updated": "2017-06-20T12:22:33.000+0000" }, { "id": "422364", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "OK thanks Hans! I will dig into that...", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-20T12:25:42.000+0000", "updated": "2017-06-20T12:25:42.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }