typescript outDir setting in tsconfig.json not working

后端 未结 4 896
臣服心动
臣服心动 2021-02-05 01:00

I can\'t seem to get the outDir flag working when used in package.json. Directory structure is pretty simple: tsconfig.json at the root le

4条回答
  •  攒了一身酷
    2021-02-05 01:24

    You need to declare your tsconfig file location instead of the file you want to build.

    tsc --build mocks/tsconfig.json
    

提交回复
热议问题