diff --git a/packages/wxt/src/core/clean.ts b/packages/wxt/src/core/clean.ts index a9c27a7d2..17a283de1 100644 --- a/packages/wxt/src/core/clean.ts +++ b/packages/wxt/src/core/clean.ts @@ -39,7 +39,7 @@ export async function clean(config?: string | InlineConfig) { const tempDirs = [ 'node_modules/.vite', 'node_modules/.cache', - '**/.wxt', + '{,**/}.wxt', `${path.relative(root, wxt.config.outBaseDir)}/*`, ]; wxt.logger.debug(