{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/15320","labels_url":"https://api.github.com/repos/symfony/symfony/issues/15320/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/15320/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/15320/events","html_url":"https://github.com/symfony/symfony/issues/15320","id":96256686,"number":15320,"title":"Better assets integration","user":{"login":"andrescevp","id":10025841,"avatar_url":"https://avatars.githubusercontent.com/u/10025841?v=3","gravatar_id":"","url":"https://api.github.com/users/andrescevp","html_url":"https://github.com/andrescevp","followers_url":"https://api.github.com/users/andrescevp/followers","following_url":"https://api.github.com/users/andrescevp/following{/other_user}","gists_url":"https://api.github.com/users/andrescevp/gists{/gist_id}","starred_url":"https://api.github.com/users/andrescevp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrescevp/subscriptions","organizations_url":"https://api.github.com/users/andrescevp/orgs","repos_url":"https://api.github.com/users/andrescevp/repos","events_url":"https://api.github.com/users/andrescevp/events{/privacy}","received_events_url":"https://api.github.com/users/andrescevp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Asset","name":"Asset","color":"dddddd"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Enhancement","name":"Enhancement","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-21T08:17:03Z","updated_at":"2015-07-22T20:45:16Z","closed_at":null,"body":"When i try to add some JS library, like require.js I must install a specific bundle with a lot files like this repo:\r\n\r\nhttps://github.com/hearsayit/HearsayRequireJSBundle\r\n\r\nI think that all js assets must be more transparent, other example I try to add Ace editor and the problem was when I was try add a extension for this editor, the JS files not index correctly between them."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/123856480","html_url":"https://github.com/symfony/symfony/issues/15320#issuecomment-123856480","issue_url":"https://api.github.com/repos/symfony/symfony/issues/15320","id":123856480,"user":{"login":"andrescevp","id":10025841,"avatar_url":"https://avatars.githubusercontent.com/u/10025841?v=3","gravatar_id":"","url":"https://api.github.com/users/andrescevp","html_url":"https://github.com/andrescevp","followers_url":"https://api.github.com/users/andrescevp/followers","following_url":"https://api.github.com/users/andrescevp/following{/other_user}","gists_url":"https://api.github.com/users/andrescevp/gists{/gist_id}","starred_url":"https://api.github.com/users/andrescevp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrescevp/subscriptions","organizations_url":"https://api.github.com/users/andrescevp/orgs","repos_url":"https://api.github.com/users/andrescevp/repos","events_url":"https://api.github.com/users/andrescevp/events{/privacy}","received_events_url":"https://api.github.com/users/andrescevp/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T20:45:16Z","updated_at":"2015-07-22T20:45:16Z","body":"Will be cool if we can add assets without content rewrite, for example if you want add BootStrap (twitter) you must specify the routes like: 'bundles/some/...\" if you try access it with \"@AppController/...\" the content is rewrited and you miss the glyphicons config. Or if you want add some extra JS and it have some dependency... my last experiment was with ace code editor and I try add some extension for it the routes are completly wrong and then the main JS don't found sorrectly the route for the extension JS.\r\n\r\nI don't know if currently you have some way for make it, but for this reason i think that assets should be more transparent.\r\n\r\nThanks."}}