Use --out instead of --outDir to support typescript modules