{"action":"created","issue":{"url":"https://api.github.com/repos/lotus/assets/issues/34","labels_url":"https://api.github.com/repos/lotus/assets/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/lotus/assets/issues/34/comments","events_url":"https://api.github.com/repos/lotus/assets/issues/34/events","html_url":"https://github.com/lotus/assets/issues/34","id":124849053,"number":34,"title":"Map structure lost when compiling","user":{"login":"SleeplessByte","id":1964376,"avatar_url":"https://avatars.githubusercontent.com/u/1964376?v=3","gravatar_id":"","url":"https://api.github.com/users/SleeplessByte","html_url":"https://github.com/SleeplessByte","followers_url":"https://api.github.com/users/SleeplessByte/followers","following_url":"https://api.github.com/users/SleeplessByte/following{/other_user}","gists_url":"https://api.github.com/users/SleeplessByte/gists{/gist_id}","starred_url":"https://api.github.com/users/SleeplessByte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SleeplessByte/subscriptions","organizations_url":"https://api.github.com/users/SleeplessByte/orgs","repos_url":"https://api.github.com/users/SleeplessByte/repos","events_url":"https://api.github.com/users/SleeplessByte/events{/privacy}","received_events_url":"https://api.github.com/users/SleeplessByte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-04T22:00:02Z","updated_at":"2016-01-13T21:43:55Z","closed_at":null,"body":"Because of l [compiler.rb#L119-L133](https://github.com/lotus/assets/blob/master/lib/lotus/assets/compiler.rb#L119-L133), files that are under `assets/xxx/file.ext` or `vendor/assets/yyy/file.ext` will all be served as `assets/file.ext`  and `assets/file2.ext`.\r\n\r\nThis breaks references in for example CSS files.\r\n\r\nIf `vendor.css` refers to `themes/theme-logo.png` the file will never be found, because `theme-logo.png` is now in the same directory.\r\n\r\n--------------\r\n\r\nAny directory structure under all the `asset sources` should be preserved."},"comment":{"url":"https://api.github.com/repos/lotus/assets/issues/comments/171445064","html_url":"https://github.com/lotus/assets/issues/34#issuecomment-171445064","issue_url":"https://api.github.com/repos/lotus/assets/issues/34","id":171445064,"user":{"login":"AlfonsoUceda","id":925961,"avatar_url":"https://avatars.githubusercontent.com/u/925961?v=3","gravatar_id":"","url":"https://api.github.com/users/AlfonsoUceda","html_url":"https://github.com/AlfonsoUceda","followers_url":"https://api.github.com/users/AlfonsoUceda/followers","following_url":"https://api.github.com/users/AlfonsoUceda/following{/other_user}","gists_url":"https://api.github.com/users/AlfonsoUceda/gists{/gist_id}","starred_url":"https://api.github.com/users/AlfonsoUceda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlfonsoUceda/subscriptions","organizations_url":"https://api.github.com/users/AlfonsoUceda/orgs","repos_url":"https://api.github.com/users/AlfonsoUceda/repos","events_url":"https://api.github.com/users/AlfonsoUceda/events{/privacy}","received_events_url":"https://api.github.com/users/AlfonsoUceda/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T21:43:55Z","updated_at":"2016-01-13T21:43:55Z","body":"@SleeplessByte would you like to create a PR fixing this?"}}