UNPKG

@yolkai/nx-workspace

Version:

Extensible Dev Tools for Monorepos

10 lines (9 loc) 392 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const ts = require("typescript"); const path_1 = require("path"); function readTsConfig(tsConfigPath) { const readResult = ts.readConfigFile(tsConfigPath, ts.sys.readFile); return ts.parseJsonConfigFileContent(readResult.config, ts.sys, path_1.dirname(tsConfigPath)); } exports.readTsConfig = readTsConfig;