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/
Asked
Active
Viewed 2,471 times
2 Answers
2
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.

hatch
- 317
- 1
- 13
-
With Uglify 2 uglifyjs myfile.js -o myfile.min.js --source-map myfile.js.map – Lance Cleveland Feb 04 '17 at 15:05
1
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

Varunkumar Nagarajan
- 1,807
- 1
- 24
- 43