The example script first compiles - in this case TypeScript - source files containing internal imports (i.e. modules outside node_modules) with absolute paths. As TypeScript does not transform import ...
The background is we are handling some entries or imports in absolute paths. Some of the paths are actually a package in node_modules. So we'd like to set alias to convert those absolute path imports ...