UNPKG

webpack-assets-manifest

Version:

This Webpack plugin will generate a JSON file that matches the original filename with the hashed version.

10 lines (9 loc) 390 B
export function isObject(input) { return input !== null && typeof input === 'object' && !Array.isArray(input); } export function isKeyValuePair(input) { return isObject(input) && (Object.hasOwn(input, 'key') || Object.hasOwn(input, 'value')); } export function isPropertyKey(input) { return typeof input === 'string' || typeof input === 'number' || typeof input === 'symbol'; }