microsoft / griffel

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

docs: cleanup recommendations of using Babel preset #567

Closed layershifter closed 5 months ago

layershifter commented 5 months ago

This PR removes mentions and recommendations to use directly @griffel/babel-preset as we don't recommend to do this on distributable packages side anymore as it blocks features like #453.

See for more context https://github.com/microsoft/fluentui/pull/31134.

Also, bumps Docusaurus to latest.

github-actions[bot] commented 5 months ago

📊 Bundle size report

Unchanged fixtures | Package & Exports | Size (minified/GZIP) | | -------------------------------------------------------------------------------------------------------------------------- | ---------------------------: | | core
\_\_resetStyles (makeResetStyles) | `273 B`
`197 B` | | core
\_\_styles (makeStyles) | `1.727 kB`
`832 B` | | core
makeResetStyles (runtime) | `17.21 kB`
`6.588 kB` | | core
makeStyles (runtime) | `26.043 kB`
`9.3 kB` | | core
mergeClasses | `1.865 kB`
`900 B` | | core
shorthands.padding() | `4.781 kB`
`1.537 kB` | | react
\_\_css | `1.723 kB`
`812 B` | | react
\_\_styles | `4.187 kB`
`1.832 kB` | | react
makeResetStyles (runtime) | `19.71 kB`
`7.578 kB` | | react
makeStaticStyles (runtime) | `9.638 kB`
`4.197 kB` | | react
makeStyles (runtime) | `28.548 kB`
`10.298 kB` | | shadow-dom
createShadowDOMRenderer | `4.085 kB`
`1.724 kB` |

🤖 This report was generated against 6b960b7b802ee052eccbfb8a3be76a7118d81268