4 Commits
Author SHA1 Message Date
LachandBartek Iwańczuk c06a84e1e0 fix: keep ?fresh-partial an implementation detail (#3776)
When encountering redirect during route change with partials enabled,
url in address bar (history api) is being left as ?fresh-partial=true,
this doesn't seem right

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2026-04-26 08:27:11 +00:00
cdc14a0c6e Do not assign named exports into existing default export (#3494)
Fixes: https://github.com/denoland/fresh/issues/3492

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 19:40:46 +01:00
LachandMarvin Hagemeister dd41a8706b fix(vite): exclude packages from deno cache in prefresh (#3374)
When disabling `node_modules` directory in Deno, prefresh plugin
transforms files in ~/.cache/deno/npm/registry.npmjs.org/ directory,
causing an arcane error to occur:
https://github.com/preactjs/prefresh/issues/124

After disabling this transform my site now works on updated fresh
version

I'm not sure if is the correct way to exclude this, but I don't see any
longer pattern that would work here

The cache is stored in $XDG_CACHE_HOME/deno/npm/$REGISTRY_HOST, where
only deno/npm part seems to be static

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2025-09-12 18:17:36 +02:00
Lach 5781123157 fix(vite): allow optional property access to Deno global (#3370)
Ideally, those expressions should be replaced with undefined for better
code optimizations, yet I haven't figured it out the best way for this.

Fixes:
https://github.com/denoland/fresh/issues/3296#issuecomment-3270452525
2025-09-09 15:17:36 +02:00