Add stripBOM
This commit is contained in:
@@ -16,3 +16,7 @@ export function extractComponentInlineTemplate(contents: string): string {
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
export function stripBOM(contents: string): string {
|
||||
return contents.trim();
|
||||
}
|
||||
|
Reference in New Issue
Block a user