-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: update babel:postprocess #27335
Conversation
Removes `lib-commonjs` from the glob as now the order of tasks is different.
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit eaca378:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 4fad4cbbcbdb48847857c388135a3abda472add7 (build) |
🕵 fluentuiv8 No visual regressions between this PR and main |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1054 | 1107 | 5000 | |
Button | mount | 681 | 654 | 5000 | |
Field | mount | 1984 | 1950 | 5000 | |
FluentProvider | mount | 1394 | 1393 | 5000 | |
FluentProviderWithTheme | mount | 370 | 368 | 10 | |
FluentProviderWithTheme | virtual-rerender | 341 | 332 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 365 | 360 | 10 | |
InfoButton | mount | 238 | 241 | 5000 | |
MakeStyles | mount | 1554 | 1542 | 50000 | |
Persona | mount | 2682 | 2591 | 5000 | |
SpinButton | mount | 2361 | 2350 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
🕵 FluentUI-v0 No visual regressions between this PR and main |
🕵 fluentuiv9 No visual regressions between this PR and main |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 1221 | 1244 | 5000 | |
Breadcrumb | mount | 2726 | 2627 | 1000 | |
Checkbox | mount | 2726 | 2673 | 5000 | |
CheckboxBase | mount | 2391 | 2378 | 5000 | |
ChoiceGroup | mount | 4786 | 4749 | 5000 | |
ComboBox | mount | 1220 | 1212 | 1000 | |
CommandBar | mount | 9810 | 9731 | 1000 | |
ContextualMenu | mount | 18041 | 18543 | 1000 | |
DefaultButton | mount | 1406 | 1415 | 5000 | |
DetailsRow | mount | 3711 | 3686 | 5000 | |
DetailsRowFast | mount | 3872 | 3756 | 5000 | |
DetailsRowNoStyles | mount | 3558 | 3678 | 5000 | |
Dialog | mount | 4239 | 4188 | 1000 | |
DocumentCardTitle | mount | 527 | 528 | 1000 | |
Dropdown | mount | 3471 | 3500 | 5000 | |
FocusTrapZone | mount | 1972 | 1935 | 5000 | |
FocusZone | mount | 1916 | 1861 | 5000 | |
GroupedList | mount | 66359 | 79676 | 2 | |
GroupedList | virtual-rerender | 32308 | 32228 | 2 | |
GroupedList | virtual-rerender-with-unmount | 90109 | 89333 | 2 | |
GroupedListV2 | mount | 529 | 560 | 2 | |
GroupedListV2 | virtual-rerender | 538 | 511 | 2 | |
GroupedListV2 | virtual-rerender-with-unmount | 550 | 561 | 2 | |
IconButton | mount | 2109 | 2059 | 5000 | |
Label | mount | 718 | 753 | 5000 | |
Layer | mount | 4831 | 4798 | 5000 | |
Link | mount | 836 | 792 | 5000 | |
MenuButton | mount | 1791 | 1901 | 5000 | |
MessageBar | mount | 31081 | 31849 | 5000 | |
Nav | mount | 3343 | 3345 | 1000 | |
OverflowSet | mount | 1390 | 1371 | 5000 | |
Panel | mount | 2552 | 2539 | 1000 | |
Persona | mount | 1349 | 1375 | 1000 | |
Pivot | mount | 1582 | 1607 | 1000 | |
PrimaryButton | mount | 1523 | 1532 | 5000 | |
Rating | mount | 7178 | 7253 | 5000 | |
SearchBox | mount | 1618 | 1615 | 5000 | |
Shimmer | mount | 3004 | 2998 | 5000 | |
Slider | mount | 2318 | 2240 | 5000 | |
SpinButton | mount | 5217 | 5119 | 5000 | |
Spinner | mount | 812 | 761 | 5000 | |
SplitButton | mount | 3472 | 3430 | 5000 | |
Stack | mount | 861 | 831 | 5000 | |
StackWithIntrinsicChildren | mount | 1654 | 1653 | 5000 | |
StackWithTextChildren | mount | 4671 | 4566 | 5000 | |
SwatchColorPicker | mount | 10172 | 10079 | 5000 | |
TagPicker | mount | 2744 | 2735 | 5000 | |
Text | mount | 780 | 786 | 5000 | |
TextField | mount | 1755 | 1695 | 5000 | |
ThemeProvider | mount | 1565 | 1586 | 5000 | |
ThemeProvider | virtual-rerender | 1111 | 1106 | 5000 | |
ThemeProvider | virtual-rerender-with-unmount | 2369 | 2322 | 5000 | |
Toggle | mount | 1158 | 1117 | 5000 | |
buttonNative | mount | 509 | 504 | 5000 |
I forgot to send PR for this last week. While it improves task execution by around 1 second it might add more issues to already existing one with source-maps #27320. So i put it on hold. would love to hear your POV. ty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it might add more issues to source map situation for cjs as I mentioned in previous comment. but lets give it a shot.
@Hotell I checked sourcemap issue that you mentioned, it reproes even without Babel postprocess step. So, I think that we can merge this PR. |
Previous Behavior
Order of tasks:
ts:esm
ts:cjs
babel:postprocess
(both ESM & CJS)New Behavior
swc:esm
babel:postprocess
(only ESM)swc:cjs
Removes
lib-commonjs
from the glob as now the order of tasks is different.Related issues