Name : perl-JavaScript-Minifier
| |
Version : 1.160.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.4
| Date : 2021-03-04 04:07:15
|
Group : Unspecified
| Source RPM : perl-JavaScript-Minifier-1.160.0-1.4.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : Perl extension for minifying JavaScript code
|
Description :
This module removes unnecessary whitespace from JavaScript code. The primary requirement developing this module is to not break working code: if working JavaScript is in input then working JavaScript is output. It is ok if the input has missing semi-colons, snips like \'++ +\' or \'12 .toString()\', for example. Internet Explorer conditional comments are copied to the output but the code inside these comments will not be minified.
The ECMAScript specifications allow for many different whitespace characters: space, horizontal tab, vertical tab, new line, carriage return, form feed, and paragraph separator. This module understands all of these as whitespace except for vertical tab and paragraph separator. These two types of whitespace are not minimized.
For static JavaScript files, it is recommended that you minify during the build stage of web deployment. If you minify on-the-fly then it might be a good idea to cache the minified file. Minifying static files on-the-fly repeatedly is wasteful.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Tumbleweed/noarch |