File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/lib/utils/options/readers Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 12
12
- Fixed relative link detection for markdown links containing code in their label, #2606 .
13
13
- Fixed an issue with packages mode where TypeDoc would use (much) more memory than required, #2607 .
14
14
- TypeDoc will no longer crash when asked to render highlighted code for an unsupported language, #2609 .
15
+ - ` .jsonc ` configuration files are now properly read as JSONC, rather than being passed to ` require ` .
15
16
16
17
### Thanks!
17
18
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export class TypeDocReader implements OptionsReader {
69
69
seen . add ( file ) ;
70
70
71
71
let fileContent : any ;
72
- if ( file . endsWith ( ".json" ) ) {
72
+ if ( file . endsWith ( ".json" ) || file . endsWith ( ".jsonc" ) ) {
73
73
const readResult = ts . readConfigFile ( normalizePath ( file ) , ( path ) =>
74
74
FS . readFileSync ( path , "utf-8" ) ,
75
75
) ;
You can’t perform that action at this time.
0 commit comments