{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/grunt-usemin/issues/391","labels_url":"https://api.github.com/repos/yeoman/grunt-usemin/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/grunt-usemin/issues/391/comments","events_url":"https://api.github.com/repos/yeoman/grunt-usemin/issues/391/events","html_url":"https://github.com/yeoman/grunt-usemin/issues/391","id":36897805,"number":391,"title":"Async option for final concatenated javascript","user":{"login":"rinatio","id":426879,"avatar_url":"https://avatars.githubusercontent.com/u/426879?v=3","gravatar_id":"","url":"https://api.github.com/users/rinatio","html_url":"https://github.com/rinatio","followers_url":"https://api.github.com/users/rinatio/followers","following_url":"https://api.github.com/users/rinatio/following{/other_user}","gists_url":"https://api.github.com/users/rinatio/gists{/gist_id}","starred_url":"https://api.github.com/users/rinatio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinatio/subscriptions","organizations_url":"https://api.github.com/users/rinatio/orgs","repos_url":"https://api.github.com/users/rinatio/repos","events_url":"https://api.github.com/users/rinatio/events{/privacy}","received_events_url":"https://api.github.com/users/rinatio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yeoman/grunt-usemin/labels/docs","name":"docs","color":"5319e7"},{"url":"https://api.github.com/repos/yeoman/grunt-usemin/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-07-01T14:29:13Z","updated_at":"2015-10-03T15:30:52Z","closed_at":null,"body":"Hello guys,\r\n\r\nIs there any way to set `async` attribute to the final concatenated javascript tag? For example I have\r\n\r\n        <!-- build:js scripts/all.js -->\r\n        <script src=\"bower_components/jquery/jquery.js\"></script>\r\n        <script src=\"bower_components/bootstrap/dist/js/bootstrap.js\"></script>\r\n        <script src=\"scripts/my.js\"></script>\r\n        <!-- endbuild -->\r\n\r\nand I can't set `async` for all of those script tags during development. Is there any other way to produce this:\r\n\r\n        <script async src=\"scripts/all.js\"></script>\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/yeoman/grunt-usemin/issues/comments/145256725","html_url":"https://github.com/yeoman/grunt-usemin/issues/391#issuecomment-145256725","issue_url":"https://api.github.com/repos/yeoman/grunt-usemin/issues/391","id":145256725,"user":{"login":"big-wave-tim","id":2625723,"avatar_url":"https://avatars.githubusercontent.com/u/2625723?v=3","gravatar_id":"","url":"https://api.github.com/users/big-wave-tim","html_url":"https://github.com/big-wave-tim","followers_url":"https://api.github.com/users/big-wave-tim/followers","following_url":"https://api.github.com/users/big-wave-tim/following{/other_user}","gists_url":"https://api.github.com/users/big-wave-tim/gists{/gist_id}","starred_url":"https://api.github.com/users/big-wave-tim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/big-wave-tim/subscriptions","organizations_url":"https://api.github.com/users/big-wave-tim/orgs","repos_url":"https://api.github.com/users/big-wave-tim/repos","events_url":"https://api.github.com/users/big-wave-tim/events{/privacy}","received_events_url":"https://api.github.com/users/big-wave-tim/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T15:30:52Z","updated_at":"2015-10-03T15:30:52Z","body":"I have grunt-usemin 3.1.1 and if async or defer are in the script lines of the build blocks then it get carried through when minified i.e\r\n\r\n<!-- build:js /js/app.min.js-->\r\n    <script defer=\"\" src=\"/js/app.js\"></script>\r\n<!-- endbuild-->\r\n\r\nbecomes\r\n\r\n<script defer src=\"app.min.js\"></script>"}}