Add stripBOM

This commit is contained in:
Kim Biesbjerg
2019-07-08 15:13:07 +02:00
parent 6e161c83f8
commit 73877a5a35
2 changed files with 5 additions and 1 deletions

View File

@@ -16,3 +16,7 @@ export function extractComponentInlineTemplate(contents: string): string {
}
return '';
}
export function stripBOM(contents: string): string {
return contents.trim();
}