KC's Workspace
Github
Preparing search index...
@kcconfigs/vitest
<internal>
ServeOptions
Interface ServeOptions
Documentation:
https://esbuild.github.io/api/#serve-arguments
interface
ServeOptions
{
certfile
?:
string
;
cors
?:
CORSOptions
;
fallback
?:
string
;
host
?:
string
;
keyfile
?:
string
;
onRequest
?:
(
args
:
ServeOnRequestArgs
)
=>
void
;
port
?:
number
;
servedir
?:
string
;
}
Index
Properties
certfile?
cors?
fallback?
host?
keyfile?
on
Request?
port?
servedir?
Properties
Optional
certfile
certfile
?:
string
Optional
cors
cors
?:
CORSOptions
Optional
fallback
fallback
?:
string
Optional
host
host
?:
string
Optional
keyfile
keyfile
?:
string
Optional
on
Request
onRequest
?:
(
args
:
ServeOnRequestArgs
)
=>
void
Optional
port
port
?:
number
Optional
servedir
servedir
?:
string
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Properties
certfile
cors
fallback
host
keyfile
on
Request
port
servedir
Github
KC's Workspace
Loading...
Documentation: https://esbuild.github.io/api/#serve-arguments