chore: remove usage of "export *"#33448
Merged
layershifter merged 2 commits intomicrosoft:masterfrom Dec 20, 2024
Merged
Conversation
082e3cf to
c05e69c
Compare
fabricteam
reviewed
Dec 11, 2024
eca035a to
930ccb9
Compare
📊 Bundle size reportUnchanged fixtures
|
Collaborator
🕵 FluentUIV0 No visual regressions between this PR and main |
930ccb9 to
8dd9cf7
Compare
fabricteam
reviewed
Dec 11, 2024
a3585fb to
68788a0
Compare
|
Pull request demo site: URL |
962d80f to
c7b55d8
Compare
layershifter
commented
Dec 11, 2024
5792002 to
75abbae
Compare
75abbae to
c384b14
Compare
Collaborator
🕵 fluentui-web-components-v3 No visual regressions between this PR and main |
ling1726
approved these changes
Dec 19, 2024
mainframev
approved these changes
Dec 19, 2024
sopranopillow
approved these changes
Dec 19, 2024
khmakoto
approved these changes
Dec 19, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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 1: I used autofix via
--fixon ESLint, so some other things were fixed (unused ESLint supressions, etc.).Note 2: This change affects some infra packages (like
scripts), but IMO they don't deserve a separate config. Let's follow best practices everywhere.