iconify-cli / getTemplateFileExtension
Function: getTemplateFileExtension()
getTemplateFileExtension(
templateName):string
Defined in: src/lib/template.ts:117
Retrieves the file extension for the specified template name.
Parameters
templateName
The name of the template whose file extension is needed.
"raw" | "svg" | "raw-ts" | "vue" | "php" | "jsx" | "tsx"
Returns
string
The file extension associated with the given template name.