diff --git a/packages/tailwindcss/src/compat/config/deep-merge.ts b/packages/tailwindcss/src/compat/config/deep-merge.ts index 2bf15c9b3..3365a068b 100644 --- a/packages/tailwindcss/src/compat/config/deep-merge.ts +++ b/packages/tailwindcss/src/compat/config/deep-merge.ts @@ -17,7 +17,7 @@ export function deepMerge( type Value = T[Key] for (let source of sources) { - if (source === null || source === undefined) { + if (source === null || source === undefined || typeof source !== 'object') { continue }