There is an easier solution now, webpack has a functionalty to resolve TypeScript files imported using the .js extension: https://webpack.js.org/configuration/resolve/#resolveextensionalias
.js