Add web adapter

This commit introduces a new web adapter, allowing applications to be
served in a web environment.

The web adapter provides functionality to create and manage application
instances, handle API requests, and serve the application via a fetch
handler. It also includes support for integrating with admin
functionalities when admin options are provided.
This commit is contained in:
Cameron Pak
2026-04-03 05:40:47 -05:00
parent e48ee49c15
commit f5bbd7d32b
5 changed files with 112 additions and 0 deletions
+5
View File
@@ -340,6 +340,11 @@ async function buildAdapters() {
platform: "node",
}),
tsup.build({
...baseConfig("web"),
platform: "neutral",
}),
tsup.build({
...baseConfig("node"),
platform: "node",