# effectName

function in `@dioramajs/diorama/vite`

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

`HeroGlow` and `hero_glow` both become `hero-glow`.

```ts
function effectName(file: string): string
```

| Parameter | Type | Description |
| --- | --- | --- |
| `file` | `string` |  |

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