An open API service indexing awesome lists of open source software.

https://github.com/coryrylan/clarity-core-rollup

Minimal demo for Clarity Design System built with Rollup. Demonstrating tree-shaking and bundle functionality.
https://github.com/coryrylan/clarity-core-rollup

Last synced: over 1 year ago
JSON representation

Minimal demo for Clarity Design System built with Rollup. Demonstrating tree-shaking and bundle functionality.

Awesome Lists containing this project

README

          

# Clarity Core Rollup JS Starter

This demo shows how to use Core with RollupJS.

https://medium.com/claritydesignsystem/design-system-performance-with-clarity-core-web-components-fbab56516f30

Note to see the final performance characteristics the app must be deployed to a production env with proper text compression. [See running example](https://clarity-core-performance.web.app).

### Optimizations include:

- Treeshaking JavaScript
- Treeshaking CSS

## Building Project:

- `npm run build`

## Bundle output

Inspect the final JavaScript bundle output by running `npm run bundle-map`.