{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/815","repository_url":"https://api.github.com/repos/TypeStrong/ts-loader","labels_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/815/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/815/comments","events_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/815/events","html_url":"https://github.com/TypeStrong/ts-loader/issues/815","id":348604807,"node_id":"MDU6SXNzdWUzNDg2MDQ4MDc=","number":815,"title":"Support for TS 3 project references","user":{"login":"Cactucs","id":4283010,"node_id":"MDQ6VXNlcjQyODMwMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4283010?v=4","gravatar_id":"","url":"https://api.github.com/users/Cactucs","html_url":"https://github.com/Cactucs","followers_url":"https://api.github.com/users/Cactucs/followers","following_url":"https://api.github.com/users/Cactucs/following{/other_user}","gists_url":"https://api.github.com/users/Cactucs/gists{/gist_id}","starred_url":"https://api.github.com/users/Cactucs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cactucs/subscriptions","organizations_url":"https://api.github.com/users/Cactucs/orgs","repos_url":"https://api.github.com/users/Cactucs/repos","events_url":"https://api.github.com/users/Cactucs/events{/privacy}","received_events_url":"https://api.github.com/users/Cactucs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-08-08T07:20:55Z","updated_at":"2018-08-10T19:00:20Z","closed_at":null,"author_association":"NONE","body":"We have a monorepo when one of the packages is compiled with webpack, but references other package from the monorepo. We are using project references (new in TS 3) to compile only the packages, that are needed (the changed one and other that have reference to it). Is there a way to make it work with webpack? Currently we are compiling it with tsc and then bundling compiled js with webpack, but it is not an ideal solution, since many features doesn't work so well (e.g. source maps and custom loaders such as sass-loader) and it is quite slow.  \r\n"},"comment":{"url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/comments/412175574","html_url":"https://github.com/TypeStrong/ts-loader/issues/815#issuecomment-412175574","issue_url":"https://api.github.com/repos/TypeStrong/ts-loader/issues/815","id":412175574,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjE3NTU3NA==","user":{"login":"andrewbranch","id":3277153,"node_id":"MDQ6VXNlcjMyNzcxNTM=","avatar_url":"https://avatars0.githubusercontent.com/u/3277153?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewbranch","html_url":"https://github.com/andrewbranch","followers_url":"https://api.github.com/users/andrewbranch/followers","following_url":"https://api.github.com/users/andrewbranch/following{/other_user}","gists_url":"https://api.github.com/users/andrewbranch/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewbranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewbranch/subscriptions","organizations_url":"https://api.github.com/users/andrewbranch/orgs","repos_url":"https://api.github.com/users/andrewbranch/repos","events_url":"https://api.github.com/users/andrewbranch/events{/privacy}","received_events_url":"https://api.github.com/users/andrewbranch/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T19:00:20Z","updated_at":"2018-08-10T19:00:20Z","author_association":"NONE","body":"@RyanCavanaugh the only other thing that's a little awkward at the moment that maybe you can help with: determining the project reference (if one exists) for a given file path. Right now I'm doing\r\n\r\n```ts\r\nprogram.getProjectReferences().find(ref => ref.commandLine.fileNames.includes(fileName))\r\n```\r\n\r\nIs there a more efficient way, whether public or internal, for getting that?"}}
{"actor":{"display_login":"andrewbranch"}}