This repo is used to compare Fluent UI bundle size with and without Griffel CSS extraction.
- Clone this repo
yarn
to install deps.
The baseline uses the default Fluent configuration that uses Griffel ahead-of-time compilation.
# Bundle everything up
yarn bundle
# Get sizes
yarn size
Extraction configures Griffel's CSS extraction feature to remove all CSS from the Javascript bundles.
# Bundle everything up
yarn bundle:extract
# Get sizes
yarn size:extract