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(react-components): add "wyw-in-js" field for tag processor #30032

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

layershifter
Copy link
Member

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).

The same change in Griffel, microsoft/griffel#475.

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).
@layershifter layershifter marked this pull request as ready for review December 11, 2023 14:12
@layershifter layershifter requested a review from a team as a code owner December 11, 2023 14:12
@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

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

Copy link

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:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
69.816 kB
20.132 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
208.252 kB
59.548 kB
react-components
react-components: FluentProvider & webLightTheme
42.101 kB
13.957 kB
react-portal-compat
PortalCompatProvider
6.822 kB
2.311 kB
🤖 This report was generated against 7d9934c1b749f28dc6a889f9fec62e9b1bae6050

Copy link

size-auditor bot commented Dec 11, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 7d9934c1b749f28dc6a889f9fec62e9b1bae6050 (build)

@layershifter layershifter merged commit 843f768 into microsoft:master Dec 15, 2023
24 checks passed
@layershifter layershifter deleted the chore/wyw-tags branch December 15, 2023 09:39
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.

3 participants