mirror of
https://github.com/SomboChea/ui
synced 2024-11-16 03:04:27 +07:00
10 lines
198 B
TypeScript
10 lines
198 B
TypeScript
|
function getRouterPackageName(packageName: string, scope?: string): string {
|
||
|
if (scope) {
|
||
|
return `@${scope}/${packageName}`;
|
||
|
}
|
||
|
|
||
|
return packageName;
|
||
|
}
|
||
|
|
||
|
export default getRouterPackageName;
|