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

chore: remove usage of "export *" #33457

Merged

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Dec 12, 2024

Previous Behavior

export * is used in a lot of files.

New Behavior

No API changes

export * is replaced with exact exports. This will improve performance of current compiler in Griffel and will unblock the future one, see microsoft/griffel#621.

This PR also enables the ESLint rule for **/src/**/*.{ts,tsx,js} files, so we won't regress.

Note: I used autofix via --fix on ESLint, so some other things were fixed (unused ESLint suppressions, etc.).

Copy link

github-actions bot commented Dec 12, 2024

📊 Bundle size report

✅ No changes found

Copy link

Pull request demo site: URL

@layershifter layershifter marked this pull request as ready for review December 12, 2024 10:13
@layershifter layershifter merged commit f15afa7 into microsoft:master Dec 13, 2024
16 checks passed
@layershifter layershifter deleted the chore/remove-export-star-p3a branch December 13, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants