Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Closed Unassigned: Combine only and preserve regular comments [19894]

$
0
0
Installed Ajaxmin 4.93, first time using AjaxMinManifestTask. Seems like all regular comments in my manifest input modules are stripped. This destroys capability of using ///#DEBUG & ///#ENDDEBUG javascript blocks, resulting in debug code ALWAYS injected into output javascript. Tried many different switches but no luck. I was expecting -echo -pretty:3 to just combine all "as is" including comments. Here is sample manifest:
```
<?xml version="1.0" encoding="utf-8" ?>
<!--====================================================================
target to build all ajaxmin manifest files in the project
REFER:http://ajaxmin.codeplex.com/wikipage?title=ManifestTask
REFER:http://ajaxmin.codeplex.com/wikipage?title=Command-Line%20Switches
====================================================================-->
<root>
<arguments>-debug:true –global:jQuery,$,OSS,store -strict:true -braces:source -echo -pretty:3 -clobber</arguments>
<output path="Scripts\1.0.0\pgXPMowbotNavDesigner.src.js">
<input path="Scripts\dev.closurebegin.module.savejs"/>
<input path="Scripts\1.0.0\pgXPMowbotNavShared.module.js"/>
<input path="Scripts\1.0.0\oss.widget_ruler.module.js"/>
<input path="Scripts\1.0.0\pgXPMowbotNavDesigner.module.js"/>
<input path="Scripts\dev.closureend.module.savejs"/>
</output>
<output path="Scripts\1.0.0\pgXPMowbotNav.src.js">
<input path="Scripts\dev.closurebegin.module.savejs"/>
<input path="Scripts\1.0.0\pgXPMowbotNavShared.module.js"/>
<input path="Scripts\1.0.0\oss.widget_segmentdisplay.module.js"/>
<input path="Scripts\1.0.0\oss.widget_compass.module.js"/>
<input path="Scripts\1.0.0\oss.widget_ruler.module.js"/>
<input path="Scripts\1.0.0\pgXPMowbotNav.module.js"/>
<input path="Scripts\dev.closureend.module.savejs"/>
</output>
</root>
```
Comments: fixed

Viewing all articles
Browse latest Browse all 683

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>