@@ -7,35 +7,35 @@ export interface Options {
77 /**
88 * Create a cluster of bun servers listening on the same port,
99 * and automatically load-balance incoming requests across them.
10- *
10+ *
1111 * Example:
1212 * ```ts
1313 * export default defineConfig({
1414 * adapter: bun({ cluster: true })
1515 * })
1616 * ```
17- *
17+ *
1818 * Defaults to `false`
1919 */
20- cluster ?: boolean
20+ cluster ?: boolean ;
2121 /**
2222 * The path to the unix socket on which to host the server.
23- *
23+ *
2424 * This can provide better performance when Bun is running alongside
2525 * a local reverse proxy that supports unix sockets.
26- *
26+ *
2727 * When a unix socket is provided, Bun does not bind to a TCP port,
2828 * and the options and environment variables for the hostname and port
2929 * are ignored.
30- *
30+ *
3131 * Example:
3232 * ```ts
3333 * export default defineConfig({
3434 * adapter: bun({ unix: "/tmp/my-socket.sock" })
3535 * })
3636 * ```
3737 */
38- unix ?: string
38+ unix ?: string ;
3939}
4040
4141// options provided by the user combined with other
@@ -44,43 +44,42 @@ export interface InternalOptions extends Options {
4444 /**
4545 * Name of the publicly exposed directory where all
4646 * static assets are put.
47- *
47+ *
4848 * Astro defaults to `"_astro"`.
4949 */
50- assets : AstroConfig [ " build" ] [ " assets" ] ,
50+ assets : AstroConfig [ ' build' ] [ ' assets' ] ;
5151 /**
5252 * The full file URL to where astro is configured to put
5353 * the client bundle and assets such as images, fonts,
5454 * stylesheets, and static html.
55- *
55+ *
5656 * Astro defaults to `"<project root>/dist/client/"`.
5757 */
58- client : AstroConfig [ " build" ] [ " server" ] [ " href" ] ,
58+ client : AstroConfig [ ' build' ] [ ' server' ] [ ' href' ] ;
5959 /**
6060 * The full file URL to where astro is configured to put
6161 * the server bundle.
62- *
62+ *
6363 * Astro defaults to `"<project root>/dist/server/""`.
6464 */
65- server : AstroConfig [ " build" ] [ " server" ] [ " href" ] ,
65+ server : AstroConfig [ ' build' ] [ ' server' ] [ ' href' ] ;
6666 /**
6767 * Network address where the astro dev server is
6868 * configured to listen for requests in addition to
6969 * `localhost`.
70- *
70+ *
7171 * Astro defaults to `false`.
7272 */
73- host : AstroConfig [ " server" ] [ " host" ] ,
73+ host : AstroConfig [ ' server' ] [ ' host' ] ;
7474 /**
7575 * Network port where the astro dev server is
7676 * configured to listen for requests.
77- *
77+ *
7878 * Astro default to `4321`.
7979 */
80- port : AstroConfig [ " server" ] [ " port" ] ,
80+ port : AstroConfig [ ' server' ] [ ' port' ] ;
8181}
8282
83-
8483export enum CreateExportsEnum {
8584 HANDLE = 'handle' ,
8685 RUNNING = 'running' ,
0 commit comments