context()
context<
T
>(options
):Promise
<BuildContext
<T
>>
This is the advanced long-running form of "build" that supports additional features such as watch mode and a local development server.
- Works in node: yes
- Works in browser: no
Documentation: https://esbuild.github.io/api/#build
Type Parameters
Type Parameter |
---|
|
Parameters
Parameter | Type |
---|---|
|
Returns
Promise
<BuildContext
<T
>>