I have structured my next.js project like this:
site
│ package.json
│ tsconfig.json
│ tslint.json
│ yarn.lock
│
├─dist
│ index.js
│
└─src
index.ts
However, every time I run next build src
, a new tsconfig.json
file is generated in the src
folder. Since I have already set up TS configuration in the existing tsconfig.json
located in the parent directory, I do not want these extra configuration files.
Is there a way to prevent the generation of additional tsconfig.json
files during the next.js build process?
- next.js - 10.0.5
- typescript- 3.8.3