stylex icon indicating copy to clipboard operation
stylex copied to clipboard

Fix: Respect runtimeInjection: false

Open nmn opened this issue 1 year ago • 3 comments
trafficstars

What changed / motivation ?

There is a bug right now where setting runtimeInjection to false doesn't actually work. This PR fixes that.

nmn avatar Jan 03 '24 01:01 nmn

compressed-size: runtime library

Size change: 0.00 kB Total size: 2.43 kB

View unchanged
Filename: gzip (minify) kB size kB change % change
./packages/stylex/lib/stylex.js 0.95 (3.31) 0.00 (0.00) 0.0% (0.0%)
./packages/stylex/lib/StyleXSheet.js 1.48 (3.75) 0.00 (0.00) 0.0% (0.0%)

github-actions[bot] avatar Jan 03 '24 01:01 github-actions[bot]

compressed-size: e2e bundles

Size change: 0.00 kB Total size: 1128.38 kB

View unchanged
Filename: gzip (minify) kB size kB change % change
./apps/rollup-example/.build/bundle.js 1005.18 (10185.36) 0.00 (0.00) 0.0% (0.0%)
./apps/rollup-example/.build/stylex.css 123.20 (772.94) 0.00 (0.00) 0.0% (0.0%)

github-actions[bot] avatar Jan 03 '24 01:01 github-actions[bot]

A deeply nested ternary 🤔 LGTM

PatrickJS avatar Jan 03 '24 02:01 PatrickJS