Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: improve type-checking performance #30516

Closed
17 tasks done
Hotell opened this issue Feb 9, 2024 · 1 comment
Closed
17 tasks done

[Feature]: improve type-checking performance #30516

Hotell opened this issue Feb 9, 2024 · 1 comment

Comments

@Hotell
Copy link
Contributor

Hotell commented Feb 9, 2024

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

@Hotell Hotell self-assigned this Apr 23, 2024
@Hotell
Copy link
Contributor Author

Hotell commented Jun 17, 2024

implemented !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants