diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 6f573e2..338947d 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -144,7 +144,7 @@ export const parseOptions = ( : true, cache: isBoolean(_options?.cache) ? _options.cache : true, cacheDir: isString(_options?.cacheDir) ? _options.cacheDir : undefined, - cacheKey: isString(_options?.cacheDir) ? _options.cacheDir : '', + cacheKey: isString(_options?.cacheKey) ? _options.cacheKey : '', clearCache: isBoolean(_options?.clearCache) ? _options.clearCache : false, plugins, makeAvif,