Add stripBOM
This commit is contained in:
parent
6e161c83f8
commit
73877a5a35
@ -103,7 +103,7 @@ const extractTask = new ExtractTask(cli.input, cli.output, {
|
||||
// Parsers
|
||||
const parsers: ParserInterface[] = [
|
||||
new PipeParser(),
|
||||
new DirectiveParser()
|
||||
new DirectiveParser(),
|
||||
new ServiceParser()
|
||||
];
|
||||
if (cli.marker) {
|
||||
|
@ -16,3 +16,7 @@ export function extractComponentInlineTemplate(contents: string): string {
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
export function stripBOM(contents: string): string {
|
||||
return contents.trim();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user