Skip to content

@pumpkin-plugins/build API / repo / cacheDir

Function: cacheDir() ​

cacheDir(from): string

Defined in: tools/build/src/repo.ts:21

Where downloaded build inputs are cached: PUMPKIN_PLUGINS_CACHE_DIR, or .cache in the repository root.

Parameters ​

from ​

string

A folder inside the repository.

Returns ​

string

The cache folder. It may not exist yet.

Pumpkin Plugins documentation