WEB-6444 Background tasks: TypeScript dependencies support
(cherry picked from commit 7bc6007)