lautis / uglifier

Ruby wrapper for UglifyJS JavaScript compressor.
http://www.rubydoc.info/gems/uglifier
MIT License
613 stars 82 forks source link

new UglifyJS2 version for better error messages #91

Closed Tenari closed 7 years ago

Tenari commented 8 years ago

https://github.com/mishoo/UglifyJS2/pull/535 As described there, UglifyJS2 has some new features, like listing the filename where ParseErrors occur, which I would be happy to have pulled into this gem.

lautis commented 8 years ago

Uglifier uses UglifyJS2. This particular patch is be included, but let's see if there's something to be done to map filename to UglifyJS2.

Typically that shouldn't matter much since when used together with Sprockets the original filename might be missing anyway.