build - compile leftover

This commit is contained in:
Benjamin Pasero
2019-11-13 07:38:16 +01:00
parent cf197953d7
commit 0ec1207e40

View File

@@ -44,7 +44,7 @@ function createCompile(src, build, emitError) {
const input = es.through();
const output = input
.pipe(utf8Filter)
.pipe(bom())
.pipe(bom()) // this is required to preserve BOM in test files that loose it otherwise
.pipe(utf8Filter.restore)
.pipe(tsFilter)
.pipe(util.loadSourcemaps())