-
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
feat(tools): add exports map support to migrate-converged-pkg generator #25033
feat(tools): add exports map support to migrate-converged-pkg generator #25033
Conversation
📊 Bundle size reportUnchanged fixtures
|
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 cad57a7:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: da8a1d4d97efdb6d95818b605136415d9428e811 (build) |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1286 | 1257 | 5000 | |
Button | mount | 929 | 908 | 5000 | |
FluentProvider | mount | 1487 | 1477 | 5000 | |
FluentProviderWithTheme | mount | 569 | 586 | 10 | |
FluentProviderWithTheme | virtual-rerender | 540 | 537 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 567 | 579 | 10 | |
MakeStyles | mount | 1952 | 1945 | 50000 | |
SpinButton | mount | 2374 | 2350 | 5000 |
@@ -2,7 +2,7 @@ | |||
"description": "Separate entrypoint for unstable Fluent UI components", | |||
"main": "../lib-commonjs/unstable/index.js", | |||
"module": "../lib/unstable/index.js", | |||
"typings": "../dist/unstable.d.ts", | |||
"typings": "./../dist/unstable.d.ts", |
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.
normalizing path with export maps
…or (microsoft#25033) * feat(tools): add exports map support to migrate-converged-pkg generator * refactor(react-components): normalize relative import for unstable package.json
…or (microsoft#25033) * feat(tools): add exports map support to migrate-converged-pkg generator * refactor(react-components): normalize relative import for unstable package.json
Current Behavior
migration generator doesn't provide setup for exports map
New Behavior
migration generator setups exports map including unstable API if present
Related Issue(s)
Fixes partially #25034