In Angular2 I would have
\"outDir\": \"dist/app\"
in tsconfig.json. As a result the transpiled .js and .map files are generated in /di
This approach is provided by Microsoft:- https://github.com/Microsoft/TypeScript-Node-Starter Check out the file "copyStaticAssets". None of the solutions above worked for me, so I hope this helps someone like me.