WithBun
Method
func (JavaScriptAppResource) WithBun(options ...*WithBunOptions) JavaScriptAppResourceSignature
method
WithBun builderConfigures the JavaScript resource to use Bun as the package manager and optionally installs packages before the application starts.
WithBun(options ...*WithBunOptions) JavaScriptAppResourceParameters
options...*WithBunOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithBunOptions argument.
Install*boolWhen true (default), automatically installs packages before the application starts. When false, only sets the package manager annotation without creating an installer resource.InstallArgs []string Additional command-line arguments passed to "bun install". When null, defaults are applied based on publish mode and lockfile presence.Returns
JavaScriptAppResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: