goproxy-yui-minify

command
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2019 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

This example would minify standalone Javascript files (identified by their content type) using the command line utility YUI compressor http://yui.github.io/yuicompressor/ Example usage:

./yui -java /usr/local/bin/java -yuicompressor ~/Downloads/yuicompressor-2.4.8.jar
$ curl -vx localhost:8080  http://golang.org/lib/godoc/godocs.js
(function(){function g(){var u=$("#search");if(u.length===0){return}function t(){if(....
$ curl http://golang.org/lib/godoc/godocs.js | head -n 3
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL