Package Exports
- tsconfig-utils
- tsconfig-utils/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tsconfig-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
tsconfig-utils
A collection of utilities for working with tsconfig.json files.
Usage
import { load } from 'tsconfig-utils'
// load a tsconfig.json file,
// resolving "extends" fields recursively
const config = await load('/path/to/project')
config.get('noEmit') // false
// load with additional args
// args will take precedence over tsconfig files
const config = await load(process.cwd(), [
'-p', 'tsconfig.base.json',
'--noEmit',
])
config.get('noEmit') // true