an0nh4x0r an0nh4x0r - 2 months ago 10
Javascript Question

How to compile TypeScript to JavaScript into a different folder

I have two folders: TypeScript and JavaScript. I need to compile the TypeScript file which are in TypeScript folder to JavaScript files in the JavaScript folder.

Answer

--outDir string Redirect output structure to the directory.

tsconfig reference

Comments