UNPKG

enhanced-resolve

Version:

Offers a async require.resolve function. It's highly configurable.

8 lines (7 loc) • 203 B
/** * @param {string} identifier identifier * @returns {[string, string, string] | null} parsed identifier */ export function parseIdentifier( identifier: string, ): [string, string, string] | null;