# build/

This directory contains compiled Svelte/Vite output committed to the repository
so that Drupal sites can use `flowdrop_ui_components` without requiring a build
step during installation.

**Do not edit files here manually.** They are auto-generated.

## Rebuilding

```bash
cd modules/flowdrop_ui_components/lib/flowdrop
npm install
npm run build
```

After rebuilding, commit the updated `*.js` and `*.css` files. Sourcemap
(`*.map`) files are intentionally excluded from version control via `.gitignore`.

## Files

| File | Description |
| ---- | ----------- |
| `flowdrop.es.js` | Main entry chunk; assigns `window.FlowDrop` |
| `flowdrop-editor.js` | Workflow editor (lazy-loaded, ~173 KB) |
| `flowdrop-playground.js` | Playground UI (lazy-loaded, ~3 KB entry) |
| `flowdrop-code.js` | CodeMirror form field (lazy-loaded, ~387 KB) |
| `flowdrop-markdown.js` | EasyMDE markdown field (lazy-loaded, ~315 KB) |
| `flowdrop-*.js` | Other auto-split chunks |
| `flowdrop.css` | All bundled styles (single file for Drupal) |
