@dioramajs/diorama/next
Next.js wrapper that writes the effect registry for webpack and Turbopack.
On this page
import { nextModule, withDiorama } from '@dioramajs/diorama/next'Functions
nextModule | Lazy imports with their metadata and the registry's types in one file. |
withDiorama | Wraps a Next config so the effects folder becomes `@dioramajs/diorama/generated`. |
Interfaces
NextConfigLike | The part of a Next config `withDiorama` reads and writes. |
WithDioramaOptions | Options of `withDiorama`. |