Skip to content

Commit c7234b7

Browse files
committedNov 28, 2023
Override potentially expensive compiler options, just in case
1 parent 4e42ff8 commit c7234b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎packages/knip/src/ProjectPrincipal.ts

+6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,18 @@ import type { GlobbyFilterFunction } from 'globby';
2020
const baseCompilerOptions = {
2121
allowJs: true,
2222
allowSyntheticDefaultImports: true,
23+
declaration: false,
24+
declarationMap: false,
2325
esModuleInterop: true,
26+
inlineSourceMap: false,
27+
inlineSources: false,
2428
jsx: ts.JsxEmit.Preserve,
2529
jsxImportSource: undefined,
2630
lib: [],
31+
noEmit: true,
2732
skipDefaultLibCheck: true,
2833
skipLibCheck: true,
34+
sourceMap: false,
2935
};
3036

3137
const tsCreateProgram = timerify(ts.createProgram);

0 commit comments

Comments
 (0)
Please sign in to comment.