tsconfig.json - Only build ts files from folder

前端 未结 4 2085
慢半拍i
慢半拍i 2020-12-20 11:24

I am currently trying to build my ts files into a single ts files. The issue I\'m getting is that my code below isn\'t doing what I thought it would. I used sourceRoot to at

4条回答
  •  一向
    一向 (楼主)
    2020-12-20 11:50

    The rootDir is just used to control the output directory structure.

    The output directory structure will be similar to your rootDir's directory. U can use the glob-like file patterns to restrict your source directories:

    * matches zero or more characters (excluding directory separators)
    ? matches any one character (excluding directory separators)
    **/ recursively matches any subdirectory
    

提交回复
热议问题