Skip to content

[Feature]: improve type-checking performance #30516

@Hotell

Description

@Hotell

Library

React Components / v9 (@fluentui/react-components)

Describe the feature that you would like added

v9 and some cross project libraries/apps use TS path aliases, which provide excellent DX and blazing fast Application Bundling speeds with tools like swc or esbuild.

We also leverage TS solution config files within our libraries, and use tsc -b for type checking.

This inflicts huge performance penalty on type-checking execution, because TSC needs to traverse and parse all the paths on every run.

By stopping using TS path aliases mapped to source files on CI for type-checking, we can gain significant performance boost.

Have you discussed this feature with our team

@microsoft/fluentui-react-build

Additional context

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Priority

High

Related Issues

Tasks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions