Skip to content

SCRATCH_DIRNAME

const SCRATCH_DIRNAME: ".storyshelf-scratch" = ".storyshelf-scratch"

Defined in: packages/core/src/capture/scratch.ts:13

Subtree of scratchDir that holds extracted Storybooks.

scratchDir is often also the local storage root (dev server, generated servers), where <project>/builds/<build>/... holds screenshots and published statics. Keeping scratch in its own subtree means removing it can never touch a storage key.