UNPKG

tailwindcss

Version:

A utility-first CSS framework for rapidly building custom user interfaces.

12 lines (10 loc) 216 B
export function defaults(target, ...sources) { for (let source of sources) { for (let k in source) { if (!target?.hasOwnProperty?.(k)) { target[k] = source[k] } } } return target }