tsconfig-extends
v1.0.1
Published
load tsconfig compiler-options, support `extends` field
Downloads
4,136
Maintainers
Readme
tsconfig-extends
load tsconfig compiler-options, support extends
field
Installation
# using npm
npm install --save tsconfig-extends
# using yarn
yarn add tsconfig-extends
Usage
import * as tsconfig from 'tsconfig-extends';
const compiler_options = tsconfig.load_file_sync('path/to/tsconfig.json');
API
load_file_sync(filename: string, cwd?: string): CompilerOptions
load_config_sync(tsconfig: TSConfig, cwd?: string): CompilerOptions