Skip to content

Commit ecafc08

Browse files
committed
fix: astro default options
1 parent 2f2b980 commit ecafc08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/astro.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Options } from './core';
22

33
import VitePlugin from './vite';
44

5-
export default (options: Options | undefined) => ({
5+
export default (options: Options = {}) => ({
66
name: 'unplugin-info',
77
hooks: {
88
'astro:config:setup': async (astro: any) => {

0 commit comments

Comments
 (0)