src/Filter/Uglifyjs.php
public function output($filename, $input)
    {
        $cmdSep = $this->_settings['version'] <= 1 ? ' - ' : '';
        $cmd = $this->_settings['node'] . ' ' . $this->_settings['uglify'] . $cmdSep . $this->_settings['options'];
        $env = array('NODE_PATH' => $this->_settings['node_path']);
        return $this->_runCmd($cmd, $input, $env);
    }
public function output($filename, $input)
    {
        $cmdSep = $this->_settings['version'] <= 1 ? ' - ' : '';
        $cmd = $this->_settings['node'] . ' ' . $this->_settings['uglify'] . $cmdSep . $this->_settings['options'];
        $env = array('NODE_PATH' => $this->_settings['node_path']);
        return $this->_runCmd($cmd, $input, $env);
    }
public function output ( $ filename , $ input ) { $ cmdSep = $ this -> _settings [ 'version' ] <= 1 ? ' - ' : '' ; $ cmd = $ this -> _settings [ 'node' ] . ' ' . $ this -> _settings [ 'uglify' ] . $ cmdSep . $ this -> _settings [ 'options' ] ; $ env = array ( 'NODE_PATH' => $ this -> _settings [ 'node_path' ] ) ; return $ this -> _runCmd ( $ cmd , $ input , $ env ) ; }
Run `uglifyjs` against the output and compress it.

@param string $filename Name of the file being generated.
@param string $input The uncompressed contents for $filename.
@return string Compressed contents.
Run uglifyjs against the output and compress it .