ceesvanegmond / minify

A PHP package for minifying your .css and .js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with javascript compression on my regex

hugo-lovighi opened this issue · comments

commented

Hi,
composer :
"ceesvanegmond/minify": "2.0.*",
On :
Laravel 4.2

I got an error when i compress my javascript.
In my js code i got :

/(NaN| {2}|^$)/.test(a)

After compressed :

/(NaN|{2}|^$)/.test(a)

Obviously, an error occured ! How can i edit the javascript compression class to correct my situation ?

Thx a lot !

I have switch to tedivm/jshrink for the js minify it's fixed on dca1d00

commented

Good Job ! Thx