This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This is suppose to bridge the gap between bun production bundler and elysia, while managing to make it work without building the server bundle. | |
| Suppose to build a single executable server with SPA. | |
| https://bun.com/reference/bun/HTMLBundle | |
| */ | |
| import Elysia from "elysia"; | |
| import indexHtml from "../public/index.html"; | |
| const built = !!indexHtml.files |