All files / src/components/features index.ts

100% Statements 49/49
100% Branches 0/0
100% Functions 0/0
100% Lines 49/49

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 501x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 * Feature Components - Business Logic Components
 *
 * This barrel file exports all feature components for the application.
 * Each feature directory contains domain-specific components.
 *
 * Note: Admin components are NOT exported here to prevent pulling in
 * heavy ESM-only dependencies (react-markdown, etc.) into main bundles.
 * Import admin components directly: `import { ... } from '@/components/features/admin'`
 */
 
// Account & Authentication
export * from './account';
export * from './auth';
 
// Analytics & A/B Testing
export * from './analytics';
 
// Cart (Checkout excluded - contains heavy Stripe deps, import directly)
export * from './cart';
// Note: Checkout components should be imported directly from '@/components/features/checkout'
// to avoid bundling Stripe on every page.
 
// Demo Mode
export * from './demo';
 
// Home Page
export * from './home';
 
// Loyalty & Referral Programs
export * from './loyalty';
export * from './referral';
 
// Product & Shop
export * from './product';
export * from './shop';
 
// Promotions
export * from './promotions';
 
// Support
export * from './support';
 
// User Features
export * from './user';
 
// Note: The following should be imported directly to avoid bundle bloat:
// - Admin components: '@/components/features/admin' (ESM-only deps like react-markdown)
// - Checkout components: '@/components/features/checkout' (Stripe SDK)