0Pricing
TypeScript Academy · Lesson

Project References (intro)

Split code into multiple tsconfig projects and reference them for faster incremental builds.

Intro

Goal: Learn Project References. They connect multiple tsconfig projects to improve build speed and organization.

Root config

At the root, add a references array. Each path points to another tsconfig project folder.

// tsconfig.json (root)
{
  "files": [],
  "references": [
    { "path": "./core" },
    { "path": "./web" }
  ]
}

All lessons in this course

  1. Strictness flags
  2. Target, lib, module, JSX settings
  3. Project References (intro)
← Back to TypeScript Academy