From a9fa39cbfc57744eee405e03e710d67f69b5827b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E6=99=BA=E5=8B=87?= Date: Fri, 26 Jul 2024 15:31:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20refactor:=20=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b46a27e..9eecec4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,7 +6,7 @@ import ora from "ora" import { PluginOptions } from "./types" import { deleteFolderRecursive, log } from "./utils" -export default function vitePluginClean(options: PluginOptions = {}): Plugin { +export default function VitePluginClean(options: PluginOptions = {}): Plugin { const { folder = "dist", hooks = {} } = options if (typeof folder !== "string" && !Array.isArray(folder)) { throw new Error(