packages/vue-styleguidist/loaders/utils/processComponent.js
function getComponentMetadataPath(filepath) {
	const extname = path.extname(filepath)
	return filepath.substring(0, filepath.length - extname.length) + '.json'
}
function getComponentMetadataPath(filepath) {
	const extname = path.extname(filepath)
	return filepath.substring(0, filepath.length - extname.length) + '.json'
}
function getComponentMetadataPath ( filepath ) { const extname = path . extname ( filepath ) return filepath . substring ( 0 , filepath . length - extname . length ) + '.json' }
References the filepath of the metadata file.

@param {string} filepath
@returns {object}
References the filepath of the metadata file .