Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

ikatyang/tsconfig-extends

Repository files navigation

tsconfig-extends

npm build coverage

load tsconfig compiler-options, support extends field

Changelog

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

About

load tsconfig compiler-options, support `extends` field

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •