# registry

function in `@dioramajs/diorama/vite`

```ts
import { registry } from '@dioramajs/diorama/vite'
```

Lazy imports with what is known before load. Shaders through @dioramajs/glsl's `?effect`.

```ts
function registry(found: readonly Found[]): string
```

| Parameter | Type | Description |
| --- | --- | --- |
| `found` | `readonly Found[]` |  |

Defined in [packages/diorama/src/vite.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/diorama/src/vite.ts#L107).
