add TailwindCSS

+ a lot of node_modules?? unsure what happened
This commit is contained in:
sindrekjelsrud 2023-07-20 20:28:44 +02:00
parent 2ba37bfbe3
commit bb41712ce4
1088 changed files with 224305 additions and 175 deletions

View file

@ -0,0 +1,17 @@
import { isScalar } from '../nodes/identity.js';
function mapIncludes(ctx, items, search) {
const { uniqueKeys } = ctx.options;
if (uniqueKeys === false)
return false;
const isEqual = typeof uniqueKeys === 'function'
? uniqueKeys
: (a, b) => a === b ||
(isScalar(a) &&
isScalar(b) &&
a.value === b.value &&
!(a.value === '<<' && ctx.schema.merge));
return items.some(pair => isEqual(pair.key, search));
}
export { mapIncludes };