We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88791f2 commit 67dc108Copy full SHA for 67dc108
.docs/generate.mjs
@@ -2,9 +2,11 @@ import jsdoc2md from 'jsdoc-to-markdown';
2
import fs from 'fs-extra';
3
import path from 'path';
4
import chalk from 'chalk';
5
-import { loadConfig, LogManager } from '@bluecadet/launchpad-utils';
+import { loadConfigFromFile, LogManager } from '@bluecadet/launchpad-utils';
6
+import { findConfigFile } from 'typescript';
7
-const config = loadConfig();
8
+const configFile = findConfigFile();
9
+const config = configFile ? (await loadConfigFromFile(configFile)) : {};
10
const logger = LogManager.getInstance(config).getLogger('docs');
11
12
/**
0 commit comments