ncc
ncc copied to clipboard
How to specify path to tsconfig.json
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?
Stumbled on this necessity too... skimmed through the source, there's isn't a way to do it yet.
Would you accept a pr for this?
This would be great to have!
Would you accept a pr for this?
Yep! If you want to submit a PR and a test, we'll take a look 👍
Hello guys, is this PR being integrated any time soon?
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.