Skip to content

API > wxt > clean

Function: clean() ​

clean(config?): Promise<void>

Remove generated/temp files from the directory.

Parameters ​

▪ config?: InlineConfig

Optional config that will override your <root>/wxt.config.ts.

Returns ​

Example ​

ts
await clean();

Source ​

packages/wxt/src/core/clean.ts:16


Generated using typedoc-plugin-markdown and TypeDoc