Skip to content

Commit 05811c6

Browse files
author
JB AUBREE
committed
fix: update injectTo type for vite plugin
1 parent 16bac9a commit 05811c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import type { UserOptions } from 'sitemap-ts'
22
import { generateSitemap } from 'sitemap-ts'
3-
import type { Plugin } from 'vite'
43

5-
function sitemapPlugin(options: UserOptions = {}): Plugin {
4+
function sitemapPlugin(options: UserOptions = {}) {
65
return {
76
name: 'vite-plugin-sitemap',
87
closeBundle() {

0 commit comments

Comments
 (0)