Dotclear


Ignore:
Timestamp:
08/14/18 11:47:02 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.14
Message:

Don't keep comments inside minified JS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build-tools/min-js.php

    r3797 r3801  
    2020 
    2121    $content = file_get_contents($js); 
    22     $res     = \JShrink\Minifier::minify($content); 
     22    $res     = \JShrink\Minifier::minify($content, array('flaggedComments' => false)); 
    2323 
    2424    if (($fp = fopen($js, 'wb')) === false) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map