Microsoft/TypeScript — pull request #377 by mhegazy (2014-08-06 19:17:11+00:00)
Title: add a new compiler command line switch for generating utf-8 BOM in the output

Previously we trafficked BOM from input to output. the only scenario where we know a BOM is necessary in the output is WWA's. This change adds a new switch (--generateBOM) that a WWA project would enable and get the same result.