@o3r/core
Version:
Core of the Otter Framework
9 lines • 475 B
JavaScript
/**
* Compute the name of the component with the library's name to generate unique component identifier used in metadata and different modules
* @param componentName Name of the component to get the configuration
* @param libraryName Name of the library the component is coming from
*/
export function computeItemIdentifier(componentName, libraryName) {
return (libraryName ? libraryName + '#' : '') + componentName;
}
//# sourceMappingURL=component.identifier.js.map