microsoft / griffel

CSS-in-JS with ahead-of-time compilation ⚡️
https://griffel.js.org
MIT License
1.2k stars 61 forks source link

chore: remove development warnings from production code #580

Closed layershifter closed 4 months ago

layershifter commented 4 months ago

Warnings were leaking to production code:

image

Fixes #581.

github-actions[bot] commented 4 months ago

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
samp>@griffel/core</samp
makeResetStyles (runtime)
17.208 kB
6.589 kB
16.432 kB
6.152 kB
-776 B
-437 B
samp>@griffel/core</samp
makeStyles (runtime)
26.092 kB
9.312 kB
24.958 kB
8.773 kB
-1.134 kB
-539 B
samp>@griffel/react</samp
makeResetStyles (runtime)
19.803 kB
7.598 kB
19.027 kB
7.168 kB
-776 B
-430 B
samp>@griffel/react</samp
makeStyles (runtime)
28.69 kB
10.319 kB
27.556 kB
9.772 kB
-1.134 kB
-547 B
Unchanged fixtures | Package & Exports | Size (minified/GZIP) | | ----------------- | -------------------: | | @griffel/core
__resetStyles (makeResetStyles) | `273 B`
`197 B` | | @griffel/core
__styles (makeStyles) | `1.727 kB`
`832 B` | | @griffel/core
mergeClasses | `1.865 kB`
`900 B` | | @griffel/core
shorthands.padding() | `4.781 kB`
`1.537 kB` | | @griffel/react
__css | `1.723 kB`
`812 B` | | @griffel/react
__styles | `4.28 kB`
`1.853 kB` | | @griffel/react
makeStaticStyles (runtime) | `9.731 kB`
`4.215 kB` | | @griffel/shadow-dom
createShadowDOMRenderer | `4.251 kB`
`1.728 kB` |

🤖 This report was generated against 7100d712f69c2c73f656ea3818949093d52c1073