Skip to content

Conversation

@nmn
Copy link
Collaborator

@nmn nmn commented Jan 12, 2026

What changed / motivation ?

  • Add example that uses Bun.bundle and Bun.serve.
  • Update unplugin package to support Bun dev servers
  • Refactor unplugin package to export @stylexjs/unplugin/vite, @stylexjs/unplugin/webpack, etc.
  • Improve type definitions for the unplugin package.

@vercel
Copy link

vercel bot commented Jan 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
stylex Ready Ready Preview, Comment Jan 27, 2026 4:58pm

Request Review

@nmn nmn marked this pull request as draft January 12, 2026 03:51
@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 Jan 12, 2026
@github-actions
Copy link

github-actions bot commented Jan 12, 2026

workflow: benchmarks/perf

Comparison of performance test results, measured in operations per second. Larger is better.
yarn workspace v1.22.22
yarn run v1.22.22
$ node ./compare.js /tmp/tmp.8fNN9MQsxZ /tmp/tmp.ygFxdCKtKK

Results Base Patch Ratio
babel-plugin: stylex.create
· basic create 544 543 1.00 -
· complex create 68 67 0.99 -
babel-plugin: stylex.createTheme
· basic themes 446 434 0.97 -
· complex themes 35 34 0.97 -
Done in 0.08s.
Done in 0.35s.

@github-actions
Copy link

github-actions bot commented Jan 12, 2026

workflow: benchmarks/size

Comparison of minified (terser) and compressed (brotli) size results, measured in bytes. Smaller is better.
yarn workspace v1.22.22
yarn run v1.22.22
$ node ./compare.js /tmp/tmp.T9cjpdCB5x /tmp/tmp.7pt9IWKwNY

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,793 1,793 1.00
· minified 4,915 4,915 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
Done in 0.08s.
Done in 0.33s.

@nmn nmn force-pushed the chore/bun-example branch from 2370f55 to 313e110 Compare January 27, 2026 16:54
@nmn nmn merged commit f432ee2 into main Jan 27, 2026
10 checks passed
@nmn nmn deleted the chore/bun-example branch January 27, 2026 17:00
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