# @heycater/qualification-funnel

Embeddable qualification funnel widget for heycater.

## Build

```bash
npm run build        # Build both ESM and IIFE
npm run build:esm    # ESM only (for React apps)
npm run build:iife   # IIFE only (for script tags)
npm run dev          # Development server
```

## Build Outputs

| File | Format | Use Case |
|------|--------|----------|
| `dist/index.esm.js` | ESM | React/bundler imports (requires peer deps) |
| `dist/index.cjs.js` | CommonJS | Node.js/require |
| `dist/heycater-funnel.iife.js` | IIFE | Self-contained script tag embedding |

**ESM Build**: Externalizes React and UI dependencies. Consumers must install peer dependencies.

**IIFE Build**: Bundles everything into a single file with all dependencies and assets included.
