Compile commonjs (node) modules with TypeScript