Skip to content

API > wxt > clean

Function: clean()

clean(root): Promise<void>

Remove generated/temp files from the directory.

Parameters

root: string= undefined

The directory to look for generated/temp files in. Defaults to process.cwd(). Can be relative to process.cwd() or absolute.

Returns

Example

ts
await clean();

Source

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


Generated using typedoc-plugin-markdown and TypeDoc