What steps will reproduce the problem?
1. create a js/foo.js file with a utf-8 bom (ef bb bf). On the first line in
the file:
goog.provide('foo');
2. closure-library/closure/bin/build/depswriter.py --root_with_prefix="js js/"
3. the .js is missing from the dep output
What is the expected output? What do you see instead?
file is included in dep output
What version of the product are you using? On what operating system?
latest git checkout as of today
Windows 8.1
Workaround:
Option 1:
Remove UTF8 bom
Option 2:
Add a comment in the first line
// extra comment to work around depswriter utf8 bom bug
Original issue reported on code.google.com by mbercht...@gmail.com on 1 Feb 2014 at 8:38
Original issue reported on code.google.com by
mbercht...@gmail.com
on 1 Feb 2014 at 8:38