Skip to content

Commit fd07bb1

Browse files
committed
cleanup
1 parent 83f5d38 commit fd07bb1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Diff for: src/unplugin.ts

+2-7
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ export const metaPlugin = createUnplugin<ComponentMetaUnpluginOptions>(({ parser
88
const instance = parser || useComponentMetaParser(parserOptions)
99
let _configResolved: any
1010

11-
return [
12-
{
13-
name: 'vite-plugin-nuxt-component-meta',
14-
enforce: 'before',
15-
},
16-
{
11+
return {
1712
name: 'vite-plugin-nuxt-component-meta',
1813
enforce: 'post',
1914
buildStart () {
@@ -36,5 +31,5 @@ export const metaPlugin = createUnplugin<ComponentMetaUnpluginOptions>(({ parser
3631
}
3732
}
3833
}
39-
}]
34+
}
4035
})

0 commit comments

Comments
 (0)