Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we generate sourcemaps using YUI compressor?

Tags:

javascript

yui

Is there a way to generate sourcemaps using YUI compressor? I don't find any option to do that here -- http://yui.github.io/yuicompressor/

like image 601
Varunkumar Nagarajan Avatar asked Jun 12 '14 05:06

Varunkumar Nagarajan


2 Answers

The YUI Compressor is no longer maintained by the YUI team but instead by a community member. The recommended compressor tool for YUI is Ugilfy 2 which has the option to generate source maps.

like image 82
hatch Avatar answered Oct 13 '22 07:10

hatch


YUI compressor doesn't support generation of sourcemaps. Here is a nice wiki page that lists the tools and languages that compile to JS supporting source maps -- https://github.com/ryanseddon/source-map/wiki/Source-maps%3A-languages,-tools-and-other-info

like image 25
Varunkumar Nagarajan Avatar answered Oct 13 '22 07:10

Varunkumar Nagarajan