Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tsconfig-loader

ForbesLindesay41.7kMIT1.1.0TypeScript support: included

Load tsconfig, respecting TS_NODE_PROJECT env var and extends

readme

tsconfig-loader

Load tsconfig, respecting TS_NODE_PROJECT env var and "extends"

Installation

yarn add tsconfig-loader

Usage

import load from 'tsconfig-loader';

const result = load();
// => {tsConfigPath: 'path/to/tsconfig.json', tsConfig: {compilerOptions: {...}}}