diff --git a/packages/common/http/src/transfer_cache.ts b/packages/common/http/src/transfer_cache.ts index 480feefe531..9585451e108 100644 --- a/packages/common/http/src/transfer_cache.ts +++ b/packages/common/http/src/transfer_cache.ts @@ -113,7 +113,7 @@ interface CacheOptions extends HttpTransferCacheOptions { isCacheActive: boolean; } -const CACHE_OPTIONS = new InjectionToken( +export const CACHE_OPTIONS = new InjectionToken( ngDevMode ? 'HTTP_TRANSFER_STATE_CACHE_OPTIONS' : '', );