2.05 min read

v1.1.1 — Bundle Reduction Update

Posted By

check-circle
Christopher Burns

Major Changes

This release focuses on massive bundle size reduction and introduces a new headless package for maximum flexibility and performance.

🚀 Performance Revolution

Bundle Size Optimization

  • MASSIVE: Reduced package size from 84.2 kB → 34.6 kB (gzip) — a 58.9% reduction
  • Removed framer-motion dependency for lighter bundle
  • Replaced Tailwind variants with native transitions and utility classes
  • Zero compromise on UX while achieving faster load times

Performance Metrics

🧠 Introducing @c15t/react/headless

For Teams Who Need Full Control

  • NEW: Introduced @c15t/react/headless for teams who don't need the built-in cookie banner
  • Ultra-lightweight: Only 12.5 kB (gzip) footprint
  • Perfect for custom implementations and design systems
  • Complete access to consent logic without built-in UI components

Headless Usage Example

📦 Package Structure

Bundle Analysis

Dependency Optimization

  • Removed framer-motion: -15.2 kB
  • Optimized Tailwind usage: -8.4 kB
  • Tree-shaking improvements: -26.0 kB
  • Total savings: -49.6 kB (58.9% reduction)

🎯 Use Cases

Standard Implementation

Headless Implementation

🚀 Performance Impact

Load Time Improvements

  • 58.9% smaller bundle = significantly faster initial page load
  • Better caching = reduced repeat load times
  • Tree-shaking friendly = only load what you use
  • Faster Time to Interactive (TTI)
  • Improved Core Web Vitals scores

Network Efficiency

  • Fewer bytes over the wire
  • Better compression ratios
  • Enhanced performance on slower connections

✨ What's Changed

Published via commit cef8df2 by @BurnedChris

Whether you're optimizing for performance, custom UI, or just want to plug into our consent logic — c15t is now leaner and more flexible than ever.

Thank you to our contributors

c15t