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

feat: add processor for wyw-in-js #471

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Dec 8, 2023

Adds a custom processor for wyw-in-js that supports compilation of makeStyles() and makeResetStyles() calls.

Is a prerequisite to support Vite (#33). This PR just adds an adapter, E2E tests will be come in a separate PR. We will move to use wyw-in-js for Webpack loader, too (#414).

@layershifter layershifter force-pushed the feat/wyw-in-js-processor branch from 57b4508 to 0085fdd Compare December 8, 2023 13:38
Copy link

github-actions bot commented Dec 8, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react
__css
1.645 kB
768 B
react
__styles
3.768 kB
1.661 kB
react
makeResetStyles (runtime)
19.172 kB
7.377 kB
react
makeStaticStyles (runtime)
9.136 kB
4.007 kB
react
makeStyles (runtime)
23.675 kB
8.991 kB
shadow-dom
createShadowDOMRenderer
3.236 kB
1.408 kB
🤖 This report was generated against adf1a0d691656d5aea75c57d65939bb16d3368c8

@layershifter layershifter force-pushed the feat/wyw-in-js-processor branch 2 times, most recently from 4993a55 to 0404401 Compare December 8, 2023 14:49
@layershifter layershifter marked this pull request as ready for review December 8, 2023 14:56
@layershifter layershifter requested a review from a team as a code owner December 8, 2023 14:56
@layershifter layershifter force-pushed the feat/wyw-in-js-processor branch from 0404401 to 371b020 Compare December 8, 2023 14:57
@layershifter layershifter merged commit d25676d into microsoft:main Dec 8, 2023
4 checks passed
@layershifter layershifter deleted the feat/wyw-in-js-processor branch December 8, 2023 15:04
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.

1 participant