Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !12983

fix: Support Typescript composite projects (#7147)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Charles Samborski requested to merge github/fork/demurgos/fix/7147-ts-composite into main Jan 21, 2023
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

TypeScript 3.0 introduced project references / composite projects. This allows to split a TypeScript build into sub-projects, while automatically keeping track of dependencies.

Currently react-scripts uses the legacy build TypeScript build mode without composite project support. Composite projects are supported for a long time by fork-ts-checker-webpack-plugin but wasn't enabled in the Webpack. This commit enables the build flag for TypeScript Webpack config, and fixes support for composite projects.

Closes #7147

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/demurgos/fix/7147-ts-composite