Skip to content

API > wxt > WxtBuilder

Interface: WxtBuilder

Contents

Properties

name

name: string

Name of tool used to build. Ex: "Vite" or "Webpack".

Source

src/types/index.ts:826


version

version: string

Version of tool used to build. Ex: "5.0.2"

Source

src/types/index.ts:830

Methods

build()

build(group): Promise<BuildStepOutput>

Build a single entrypoint group. This is effectively one of the multiple "steps" during the build process.

Parameters

group: EntrypointGroup

Source

src/types/index.ts:835


createServer()

createServer(info): Promise<WxtBuilderServer>

Start a dev server at the provided port.

Parameters

info: ServerInfo

Source

src/types/index.ts:839


Generated using typedoc-plugin-markdown and TypeDoc