diff --git a/src/utils/options.ts b/src/utils/options.ts index 5688274..09bd25c 100644 --- a/src/utils/options.ts +++ b/src/utils/options.ts @@ -39,7 +39,7 @@ export function optionsToConfig( ...acc, ...val, }; - }, options)).pop(); + }, options)).reverse().pop(); const finalOptions = { ...def,