tsconfig.json - Only build ts files from folder

前端 未结 4 2102
慢半拍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 12:11

    Yes,it is possible. Please use rootDir like 'rootDir': 'app', if www is your root dir of your application.

    rootDir description from typescript compiler options:

    Specifies the root directory of input files.

提交回复
热议问题