index.js
function extractBundleName(filePath) {
	const parts = filePath.replace(bundlesPath, '').split(path.sep);
	return parts[1];
}
function extractBundleName(filePath) {
	const parts = filePath.replace(bundlesPath, '').split(path.sep);
	return parts[1];
}
function extractBundleName ( filePath ) { const parts = filePath . replace ( bundlesPath , '' ) . split ( path . sep ) ; return parts [ 1 ] ; }
Returns the name of a bundle that owns a given path.
@param filePath {String} - The path of the file to extract a bundle name from.
@returns {String} - The name of the bundle that owns this path.
@private
Returns the name of a bundle that owns a given path .