Home Identifier Source Repository

src/lib/path-to-override.js

/**
 * Creates an "override path" – a period-seperated string.
 * @private
 * @param {string[]} path - the path to create the string from
 * @returns {string} - the stringified path
 */
export default function pathToOverride(path) {
	return path.join('.').toLowerCase()
}