fix: add missing compile entry (#3410)
Fixes https://github.com/denoland/fresh/issues/3409
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user