# DioramaPluginOptions

interface in `@dioramajs/diorama/vite`

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

Options of the build plugins.

```ts
interface DioramaPluginOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `dir?` | `string` | The effects folder, relative to the Vite root. Default 'src/effects'. |
| `types?` | `string \| false` | The types file, relative to the root, or `false` for none. Default 'src/diorama.gen.d.ts'. |

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