ajaxmin produces invalid js code with arrow functions

Consider this piece of code var array = [1, 2, 3] array.map(num => { return { x: num * 2, y: num * 3 } }) ajaxmin will output this: a.map(n => { x: n * 2, y: ...

Id #22476 | Release: None | Updated: Feb 11 at 5:38 PM by sekeatin | Created: Feb 10 at 9:17 PM by paulosantosvieira

failing to minify css keyframes

failing to minify css keyframes on CssParser.cs line 651 while (ParseRule() == Parsed.True || ParseMedia() == Parsed.True || ParsePage() == Parsed.True || Par...

Id #22415 | Release: None | Updated: Nov 28, 2016 at 8:25 AM by RazvanBucse | Created: Nov 28, 2016 at 8:25 AM by RazvanBucse

Invalid Operator Precendence between => and ,

Running the command-line minifier on valid ES2015 code with arrow functions in this specific block causes the functionality of the code to change. The problem came about when trying to minify this...

Id #22341 | Release: None | Updated: Aug 30, 2016 at 11:54 PM by chbrenon | Created: Aug 30, 2016 at 11:54 PM by chbrenon

AjaxMin error on compile Release mode

I use VS2013 and AjaxMin 5.14.5506.26196. My AjaxMin configuration: <UsingTask TaskName="AjaxMin" AssemblyFile="$(SolutionDir)\packages\AjaxMin.5.14.5506.26202\tools\net40\AjaxMinTask.dll" /> <Ta...

Id #22332 | Release: None | Updated: Aug 21, 2016 at 8:55 AM by leonidfinger | Created: Aug 21, 2016 at 8:55 AM by leonidfinger

Add support for "sourcesContent" line in V3SourceMap

The sourcemap v3 spec defines a "sourcesContent": [ ... ] array, that allows for embedding the original sources of a file directly inside the sourcemap. Can we add an option to support this?

Id #22322 | Release: None | Updated: Aug 9, 2016 at 11:45 AM by m0sa | Created: Aug 9, 2016 at 11:44 AM by m0sa

Setter must have exactly one formal parameter

Don't drop unused setter argument.

Id #22257 | Release: None | Updated: May 5, 2016 at 7:08 AM by kmataru | Created: May 5, 2016 at 7:08 AM by kmataru

The <%=WebResource is being removed in css

I'm having an issue when compressing css that has embedded asp.net blocks in the background-image url, it chops part of it out. Here is how we are using it: var minifier = new Minifier(); minifi...

Id #22159 | Release: None | Updated: Feb 3, 2016 at 6:30 PM by hunterb46 | Created: Feb 3, 2016 at 6:30 PM by hunterb46

SourceMaps sourceMappingURL being relative doesn't work well with routing

In cases where we use URL routing in the path we load javascript files using an absolute path to avoid issues but the source maps are not absolute and therefore do not load. It would be beneficial...

Id #22133 | Release: None | Updated: Jan 6, 2016 at 3:14 PM by alecl | Created: Jan 6, 2016 at 3:13 PM by alecl

Change BuildAjaxMinManifests AfterTargets to BeforeBuild (from Build)

I had to change the following line in the AjaxMin.targets file provided by the nuget package in order to get the minified files copied to a location that could then be picked up by Octopack (used b...

Id #22103 | Release: None | Updated: Dec 1, 2015 at 9:22 PM by lcharold | Created: Dec 1, 2015 at 9:22 PM by lcharold

Minifier turns (0, eval) into eval

I originally posted this in Mads Kristensen's BundlerMinifier project, but he suggested I post it here, so below is a copy of that post. I'll also point out that I tried the repro script below with...

Id #22084 | Release: None | Updated: Feb 17, 2016 at 5:16 PM by BorisMoore | Created: Nov 12, 2015 at 11:12 PM by rdmartin