{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/489","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/489/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/489/events","html_url":"https://github.com/NativeScript/nativescript-cli/issues/489","id":78088550,"number":489,"title":"Combine JavaScript files in a single file in release builds","user":{"login":"jasssonpet","id":305639,"avatar_url":"https://avatars.githubusercontent.com/u/305639?v=3","gravatar_id":"","url":"https://api.github.com/users/jasssonpet","html_url":"https://github.com/jasssonpet","followers_url":"https://api.github.com/users/jasssonpet/followers","following_url":"https://api.github.com/users/jasssonpet/following{/other_user}","gists_url":"https://api.github.com/users/jasssonpet/gists{/gist_id}","starred_url":"https://api.github.com/users/jasssonpet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasssonpet/subscriptions","organizations_url":"https://api.github.com/users/jasssonpet/orgs","repos_url":"https://api.github.com/users/jasssonpet/repos","events_url":"https://api.github.com/users/jasssonpet/events{/privacy}","received_events_url":"https://api.github.com/users/jasssonpet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-19T13:30:35Z","updated_at":"2015-07-01T14:20:24Z","closed_at":null,"body":"On iPhone 5 about 50ms of 980ms of the startup time of the Cuteness sample (and similar on Android) is spent for requiring JavaScript modules.\r\n\r\nThis could be reduced if we combine (and optionally minify) all used JavaScript modules in release build."},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/117691934","html_url":"https://github.com/NativeScript/nativescript-cli/issues/489#issuecomment-117691934","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/489","id":117691934,"user":{"login":"PanayotCankov","id":5919275,"avatar_url":"https://avatars.githubusercontent.com/u/5919275?v=3","gravatar_id":"","url":"https://api.github.com/users/PanayotCankov","html_url":"https://github.com/PanayotCankov","followers_url":"https://api.github.com/users/PanayotCankov/followers","following_url":"https://api.github.com/users/PanayotCankov/following{/other_user}","gists_url":"https://api.github.com/users/PanayotCankov/gists{/gist_id}","starred_url":"https://api.github.com/users/PanayotCankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PanayotCankov/subscriptions","organizations_url":"https://api.github.com/users/PanayotCankov/orgs","repos_url":"https://api.github.com/users/PanayotCankov/repos","events_url":"https://api.github.com/users/PanayotCankov/events{/privacy}","received_events_url":"https://api.github.com/users/PanayotCankov/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T14:20:24Z","updated_at":"2015-07-01T14:20:24Z","body":"[Source Maps, Source Maps everywhere... We need to support these for obfuscators, transpilers etc.](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/)\r\n[Meanwhile we've spent some time profiling the app and improved our caching.](https://github.com/NativeScript/ios-runtime/pull/191)\r\n\r\nXML code-behind will be interesting, source maps won't handle that easily. They map the location in the generated JavaScript to the original source, however for the XMLs we will need a mapping that works the other way around."}}