{"action":"opened","issue":{"url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/190","labels_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/190/comments","events_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/190/events","html_url":"https://github.com/ivogabe/gulp-typescript/issues/190","id":103090714,"number":190,"title":"Option to emit referenced files.","user":{"login":"Lenne231","id":2046557,"avatar_url":"https://avatars.githubusercontent.com/u/2046557?v=3","gravatar_id":"","url":"https://api.github.com/users/Lenne231","html_url":"https://github.com/Lenne231","followers_url":"https://api.github.com/users/Lenne231/followers","following_url":"https://api.github.com/users/Lenne231/following{/other_user}","gists_url":"https://api.github.com/users/Lenne231/gists{/gist_id}","starred_url":"https://api.github.com/users/Lenne231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lenne231/subscriptions","organizations_url":"https://api.github.com/users/Lenne231/orgs","repos_url":"https://api.github.com/users/Lenne231/repos","events_url":"https://api.github.com/users/Lenne231/events{/privacy}","received_events_url":"https://api.github.com/users/Lenne231/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T18:44:41Z","updated_at":"2015-08-25T18:44:41Z","closed_at":null,"body":"It would be nice if there would be an option to emit referenced files, so that `tsProject.src()` streams them as well. This would make the configuration much simpler, match the behavior of the tsc command line tool and we would only have to define the entry files.\r\n\r\nThis could be implemented using `preProcessFile(...)`.\r\n\r\nAdditionally it would be nice to be able to reference other files like css or less files, i.e. `/// <reference path=\"../assets/mycomponent.less\" />` and `tsProject.src('less')`. This way we could reference styles that should be integrated in our build. This would be very useful for single page applications but would require TypeScript to allow referencing other files than *.ts and expose these files over `preProcessFile`."}}