stylex
stylex copied to clipboard
Fix: Respect runtimeInjection: false
trafficstars
What changed / motivation ?
There is a bug right now where setting runtimeInjection to false doesn't actually work. This PR fixes that.
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%) |
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%) |
A deeply nested ternary 🤔 LGTM