You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2023. It is now read-only.
Minifier should detect if a file is already minified and just include it without minifying it a second time.
Processing an already minified js file sometimes leads to a:
ErrorException in Minifier.php line 476: Unclosed string at position
This is not really an issue with the minify module itself, but with JSshrink and how it's beeing used. The error is thrown in vendor/tedivm/jshrink/src/JShrink/Minifier.php around line 471:
// New lines in strings without line delimiters are bad- actual
// new lines will be represented by the string \n and not the actual
// character, so those will be treated just fine using the switch
// block below.
case "\n":
throw new \RuntimeException('Unclosed string at position: ' . $startpos );
break;
Minifier should detect if a file is already minified and just include it without minifying it a second time.
Processing an already minified js file sometimes leads to a:
ErrorException in Minifier.php line 476: Unclosed string at position
This is not really an issue with the minify module itself, but with JSshrink and how it's beeing used. The error is thrown in vendor/tedivm/jshrink/src/JShrink/Minifier.php around line 471: