Closed GoogleCodeExporter closed 9 years ago
We actually have such a compiler already.
http://code.google.com/p/traceur-compiler/source/browse/traceurc
http://code.google.com/p/traceur-compiler/source/browse/src/filecompiler.js
but this one does not "inline" external modules.
Original comment by arv@chromium.org
on 18 Apr 2012 at 11:31
I got an error when compiling a script that referenced the "document" object.
It seems we can only use this compiler for scripts that do not interact with
the DOM (i.e. node.js only scripts) Is this the case?
Original comment by kgra...@gmail.com
on 24 Sep 2012 at 4:45
kgraehl: Try turning off the freeVariableChecker option
Original comment by arv@chromium.org
on 24 Sep 2012 at 5:10
./traceur --out out.js [file.js...]
Inlines external modules in files
Original comment by arv@chromium.org
on 11 Mar 2013 at 4:36
Original issue reported on code.google.com by
johnjbar...@chromium.org
on 18 Apr 2012 at 11:10