chore(react-components): add "wyw-in-js" field for tag processor#30032
Merged
layershifter merged 1 commit intomicrosoft:masterfrom Dec 15, 2023
Merged
chore(react-components): add "wyw-in-js" field for tag processor#30032layershifter merged 1 commit intomicrosoft:masterfrom
layershifter merged 1 commit intomicrosoft:masterfrom
Conversation
Adds `wyw-in-js` field to `package.json` to support styles processing with WyW-in-JS compiler (https://wyw-in-js.dev/). The plan is to use this compiler for Vite/esbuild plugins (microsoft/griffel#41) and later switch our Webpack loader to it (microsoft/griffel#414).
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 649 | 641 | 5000 | |
| Button | mount | 312 | 304 | 5000 | |
| Field | mount | 1128 | 1103 | 5000 | |
| FluentProvider | mount | 705 | 694 | 5000 | |
| FluentProviderWithTheme | mount | 75 | 85 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 58 | 73 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 72 | 65 | 10 | |
| MakeStyles | mount | 839 | 860 | 50000 | |
| Persona | mount | 1733 | 1729 | 5000 | |
| SpinButton | mount | 1363 | 1361 | 5000 |
|
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 e5d525b:
|
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 7d9934c1b749f28dc6a889f9fec62e9b1bae6050 (build) |
miroslavstastny
approved these changes
Dec 15, 2023
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.
Adds
wyw-in-jsfield topackage.jsonto support styles processing with WyW-in-JS compiler (https://wyw-in-js.dev/). The plan is to use this compiler for Vite/esbuild plugins (microsoft/griffel#41) and later switch our Webpack loader to it (microsoft/griffel#414).The same change in Griffel, microsoft/griffel#475.