Closed
Description
TypeScript Version: 3.8.3, however I have tried 3.3.x as well as the latest 3.9.x and even updating the the rc version of 4.0
Search Terms:
Fresh/cold build takes upwards of 50 minutes, both watch and regular build mode. Very high transform time.
Code
This is a private repo I started contributing too so I can't share it, but this is our tsconfig.
{
"compilerOptions": {
"declaration": true,
"importHelpers": true,
"module": "commonjs",
"esModuleInterop": true,
"outDir": "dist",
"rootDir": "src",
"strict": false,
"target": "esnext",
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"checkJs": false,
"lib": ["esnext"],
"moduleResolution": "node",
"incremental": true,
"noImplicitAny": false,
"assumeChangesOnlyAffectDirectDependencies": true,
"listEmittedFiles": true,
"extendedDiagnostics": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules/**/*",
"**/node_modules",
"dist/**/*",
"**/.*/",
"*.test.ts"
]
}
Expected behavior:
Running a fresh build (without a .buildinfofile and the current dist folder if one exists) should compile in less time than it takes to do my laundry
Actual behavior:
Running a fresh build takes upwards of 1 hour, although I have seen a range of 35-50 minutes that is most common.
Related Issues:
#35729