Minor Changes
-
#12466
caf9b11Thanks @petebacondarwin! - AddWRANGLER_CACHE_DIRenvironment variable and smart cache directory detectionWrangler now intelligently detects where to store cache files:
- Use
WRANGLER_CACHE_DIRenv var if set - Use existing cache directory if found (
node_modules/.cache/wrangleror.wrangler/cache) - Create cache in
node_modules/.cache/wranglerifnode_modulesexists - Otherwise use
.wrangler/cache
This improves compatibility with Yarn PnP, pnpm, and other package managers that don't use traditional
node_modulesdirectories, without requiring any configuration. - Use