scan function
The folder's effects, one per code file (not `*.d.ts`, not `_private`) and per fragment shader without a code file of the same name.
import { scan } from '@dioramajs/diorama/vite'. Sorted by name. Bad or repeated names are skipped.
function scan(
dir: string,
shaders: boolean,
): { found: Found[]; skipped: string[] }Parameters
| Name | Type | Description |
|---|---|---|
dir | string | |
shaders | boolean |
Defined in packages/diorama/src/vite.ts.