Function: createServer()
createServer(
inlineConfig
?):Promise
<WxtDevServer
>
Creates a dev server and pre-builds all the files that need to exist before loading the extension.
Parameters
▪ inlineConfig?: InlineConfig
Returns
Example
ts
const server = await wxt.createServer({
// Enter config...
});
await server.start();
Source
packages/wxt/src/core/create-server.ts:42
Generated using typedoc-plugin-markdown and TypeDoc