We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56a9225 commit 2cee5fcCopy full SHA for 2cee5fc
src/index.ts
@@ -13,7 +13,7 @@ const defaultOptions: Options = {
13
}
14
15
function VitePluginComponents(options: Partial<Options> = {}): Plugin {
16
- const resolvedOptions: Options = Object.assign({}, options, defaultOptions)
+ const resolvedOptions: Options = Object.assign({}, defaultOptions, options)
17
const ctx: Context = new Context(resolvedOptions)
18
19
return {
0 commit comments