{ "id": "153260", "key": "TIMOB-20011", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2015-11-17T23:59:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-11-17T23:59:32.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": "10207", "name": "Tooling" } ], "description": "There is a need to allow JavaScript files and possibly other resources to be bundled into an app that live outside the Resources directory. In the case of JavaScript files, special handling needs to be done so that they are AST parsed for Titanium APIs and then encrypted for non-development builds.\r\n\r\nThis feature would be exposed to CLI hooks. A CLI hook could simply modify the list of jsFiles that were found while recursing the Resources directory before performing the analysis and encryption.\r\n\r\nBecause we're allowing external files to be bundled, we may need to expose differential build logic. If just injecting files, then it should be fine, but if modifying any existing files will most likely require touching the {{currentBuildManifest}} state.\r\n\r\nHere's a related community thread: https://community.appcelerator.com/topic/4063/cli-hook-copy-resources-to-build/.", "attachment": [], "flagged": false, "summary": "Allow JavaScript files outside the Resources directory to be bundled into the app", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }