Tags: vastrek/minify
Tags
Make comments-regex quantifiers posessive Was prone to hit PREG_BACKTRACK_LIMIT_ERROR. Should also improve performance. Fixes matthiasmullie#42
Don't strip double semicolons before ) Fixes matthiasmullie#40
Add a newline between scripts being joined Fixes issue matthiasmullie#35
Fix propertyNotation I originally executed this on content where string had not yet been replaced. Because this could cause false positives and match content inside strings, I switched it to be executed after strings had been extracted. However, this means those array key texts were also replaced, by something that always looks like a valid variable. I've now moved that check to match the extracted value, which we'll be replacing.
PreviousNext