We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97346f7 commit d91f743Copy full SHA for d91f743
src/index.ts
@@ -11,8 +11,7 @@ const defaultOptions: Options = {
11
deep: true,
12
}
13
14
-export type { Options }
15
-export function VitePluginComponents(options: Partial<Options> = {}): Plugin {
+function VitePluginComponents(options: Partial<Options> = {}): Plugin {
16
const resolvedOptions: Options = Object.assign({}, options, defaultOptions)
17
const ctx: Context = {
18
options: resolvedOptions,
@@ -33,3 +32,6 @@ export function VitePluginComponents(options: Partial<Options> = {}): Plugin {
33
32
],
34
35
+
36
+export type { Options }
37
+export default VitePluginComponents
0 commit comments