Skip to content

Commit 3b143cd

Browse files
authored
fix: update import from get-tsconfig to use parseTsconfig (#245)
1 parent abc7d59 commit 3b143cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/** */
88
import { existsSync, lstatSync } from 'fs';
9-
import { getTsconfig, TsConfigJsonResolved } from 'get-tsconfig';
9+
import { parseTsconfig, TsConfigJsonResolved } from 'get-tsconfig';
1010
import { Dir, Json } from 'mylas';
1111
import { basename, dirname, isAbsolute, join, resolve } from 'path';
1212
import {
@@ -124,7 +124,7 @@ export const loadConfig = (
124124
}
125125
output.debug('Loading config file:', file);
126126

127-
const { config: tsConfig } = getTsconfig(file);
127+
const tsConfig = parseTsconfig(file);
128128
const baseTsConfig = Json.loadS<TsConfigJsonResolved>(file, true);
129129
const {
130130
compilerOptions: { baseUrl, outDir, declarationDir, paths } = {

0 commit comments

Comments
 (0)