ncc icon indicating copy to clipboard operation
ncc copied to clipboard

How to specify path to tsconfig.json

Open joonhocho opened this issue 5 years ago • 6 comments

I have multiple tsconfig.json files one for build (tsconfig.build.json) and one for coding (tsconfig.json). For coding, I add test files as well since I want to type check test files. For building, I only add source files. ncc is by default using tsconfig.json so it also include test files. Any way to specify custom tsconfig.json path?

joonhocho avatar Jul 13 '19 02:07 joonhocho

Stumbled on this necessity too... skimmed through the source, there's isn't a way to do it yet.

tomsseisums avatar Feb 28 '20 09:02 tomsseisums

Would you accept a pr for this?

viceice avatar Mar 23 '20 13:03 viceice

This would be great to have!

PaulRBerg avatar Jun 19 '21 12:06 PaulRBerg

Would you accept a pr for this?

Yep! If you want to submit a PR and a test, we'll take a look 👍

styfle avatar Jun 22 '21 14:06 styfle

Hello guys, is this PR being integrated any time soon?

mreis1 avatar Jan 16 '23 13:01 mreis1

Hello, what's new about this? This is very embarrassing to not be able to set the tsconfig file to use. :/ For example, the NestJs framework standard is to name the tsconfig file tsconfig.build.json for the code only, extending the tsconfig.json file used for code and test. Without this feature, we cannot respect the NestJs standard. :( Regards.

vtgn avatar Jun 14 '23 13:06 vtgn