GetPageSpeed Extras

closure-compiler

View this package for all CentOS/RHEL versions →

How to install closure-compiler in CentOS/RHEL 7 (noarch)

Closure Compiler - JavaScript compressor

License: Apache License http://closure-compiler.appspot.com/

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install closure-compiler

Description

The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Changelog
closure-compiler-20190301-2.noarch 6.9 MiB Danila Vershinin (2019-03-16)
- release 20190301
closure-compiler-20190301-1.noarch 6.9 MiB Danila Vershinin (2019-03-16)
- release 20190301

Subscribe