We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f2b980 commit ecafc08Copy full SHA for ecafc08
src/astro.ts
@@ -2,7 +2,7 @@ import type { Options } from './core';
2
3
import VitePlugin from './vite';
4
5
-export default (options: Options | undefined) => ({
+export default (options: Options = {}) => ({
6
name: 'unplugin-info',
7
hooks: {
8
'astro:config:setup': async (astro: any) => {
0 commit comments