Skip to content

Commit

Permalink
🦄 refactor: 命名
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuuuuyu committed Jul 26, 2024
1 parent 5b9df87 commit a9fa39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a9fa39c

Please sign in to comment.