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(