Support AOT-built static assets (#1999)

Creates a static folder under `config.build.outDir` during AOT build.
Serves any static files that are found there.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Adam Gregory
2023-11-04 14:01:21 +01:00
committed by GitHub
co-authored by Marvin Hagemeister
parent d655386617
commit 264f3073bd
13 changed files with 448 additions and 32 deletions
+2 -2
View File
@@ -57,9 +57,9 @@ const toc: RawTableOfContents = {
["error-pages", "Error pages", "link:canary"],
["partials", "Partials", "link:latest"],
["data-fetching", "Data fetching", "link:latest"],
["ahead-of-time-builds", "Ahead-of-time Builds", "link:latest"],
["ahead-of-time-builds", "Ahead-of-time Builds", "link:canary"],
["deployment", "Deployment", "link:latest"],
["plugins", "Plugins", "link:latest"],
["plugins", "Plugins", "link:canary"],
["updating", "Updating Fresh", "link:latest"],
["server-configuration", "Server configuration", "link:latest"],
],