frontend-bootcamp icon indicating copy to clipboard operation
frontend-bootcamp copied to clipboard

Exclude outDir from tsconfig

Open amcasey opened this issue 5 years ago • 1 comments

Consuming output as input is generally discouraged since it adds memory overhead without adding value. As a bonus, this makes it possible to build twice in a row without cleaning in between (though I suspect this file is only for editor support and the actual build happens through webpack).

Microsoft Reviewers: Open in CodeFlow

amcasey avatar Sep 17 '20 21:09 amcasey

Disclosure: I don't actually know what this project does - I was just building arbitrary tsconfig projects from GH to validate the TypeScript compiler.

Edit: Just looked through the readme. Cool! If this project is instructional, this is definitely a best practice we'd like to role model.

amcasey avatar Sep 17 '20 21:09 amcasey