Skip to content

Conversation

@nmn
Copy link
Collaborator

@nmn nmn commented Nov 23, 2025

What changed / motivation ?

Upgrade the documentation website to docusaurus 3. With some tweaks to the unplugin configuration, production builds are handled by the unplugin package while it still relies on runtime injection during development.

There was a small tweak needed to the unplugin package but there doesn't seem to be a regression in the webpack example as a result.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 23, 2025
@github-actions
Copy link

github-actions bot commented Nov 23, 2025

workflow: benchmarks/perf

Comparison of performance test results, measured in operations per second. Larger is better.

[email protected] compare
node ./compare.js /tmp/tmp.FvZG14Iq9B /tmp/tmp.C6t9yFX1fL

Results Base Patch Ratio
babel-plugin: stylex.create
· basic create 558 542 0.97 -
· complex create 67 66 0.99 -
babel-plugin: stylex.createTheme
· basic themes 452 451 1.00 -
· complex themes 44 43 0.98 -

@github-actions
Copy link

github-actions bot commented Nov 23, 2025

workflow: benchmarks/size

Comparison of minified (terser) and compressed (brotli) size results, measured in bytes. Smaller is better.

[email protected] compare
node ./compare.js /tmp/tmp.ROZYOOHLmm /tmp/tmp.N0pIQm3fgn

Results Base Patch Ratio
@stylexjs/stylex/lib/cjs/stylex.js
· compressed 1,311 1,311 1.00
· minified 4,150 4,150 1.00
@stylexjs/stylex/lib/cjs/inject.js
· compressed 1,223 1,223 1.00
· minified 3,216 3,216 1.00
benchmarks/size/.build/bundle.js
· compressed 496,650 496,650 1.00
· minified 4,847,840 4,847,840 1.00
benchmarks/size/.build/stylex.css
· compressed 99,853 99,853 1.00
· minified 747,541 747,541 1.00

@nmn nmn force-pushed the chore/docusaurus-3 branch from c69f823 to fb4caf9 Compare November 23, 2025 14:01
Base automatically changed from chore/docusaurus-plugin to main November 24, 2025 00:54
@mellyeliu
Copy link
Member

mellyeliu commented Dec 7, 2025

should we just wait for the rewrite a fumadocs? too many docs PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants