lautis/uglifier — Issue #18: Exports don't work with jscript
Author: jeffw-wherethebitsroam
Created: 2011-10-24 06:05:18+00:00
State: open

When using uglifier via execjs using jscript on Windows, the exported functions don't seem to work. It fails on the line:

ast = UglifyJS.uglify.ast_squeeze(ast, {\"make_seqs\":true,\"dead_code\":true,\"keep_comps\":true});

with the error:

TypeError: Object doesn't support this property or method

I am trying to use this to pre-compile assets using rails 3.1.1.

Regards,
Jeff