Skip to content

@saflib/imports


Function: sortExportPatternKeys()

sortExportPatternKeys(keys): string[]

Prefer longer (more specific) pattern keys, matching Node's best-match preference.

Parameters

ParameterType
keysstring[]

Returns

string[]