fix: add missing compile entry (#3410)

Fixes https://github.com/denoland/fresh/issues/3409
This commit is contained in:
Marvin Hagemeister
2025-09-12 13:08:49 +02:00
committed by GitHub
parent 7ce6aeff8b
commit e06f03ac67
6 changed files with 36 additions and 10 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ platform without requiring Deno to be installed.
# Build your app first
$ deno task build
# Generate self-contained executable
deno compile --include static --include _fresh --include deno.json -A my-app _fresh/compiled-entry.js
deno compile --output my-app --include _fresh -A _fresh/compiled-entry.js
```
The compiled entry supports two environment variables out of the box:
+5
View File
@@ -283,6 +283,11 @@ The `createHandler` function was often used to launch Fresh for tests. This can
be now done via vite's `createBuilder` function. See the
[testing page](/docs/testing) for more information.
## `deno compile`
If you're using `deno compile` to generate a binary out of the Fresh app be sure
to [update the command](/docs/deployment/deno-compile) to generate the binary.
## Getting help
If you run into problems with upgrading your app, reach out to us by creating an