control-freak-ide/server/nodejs/util/shrinksafe
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00
..
src latest 2021-05-12 18:35:18 +02:00
tests latest 2021-05-12 18:35:18 +02:00
build.sh latest 2021-05-12 18:35:18 +02:00
js.jar latest 2021-05-12 18:35:18 +02:00
LICENSE latest 2021-05-12 18:35:18 +02:00
MPL-1.1.html latest 2021-05-12 18:35:18 +02:00
README latest 2021-05-12 18:35:18 +02:00
shrinksafe.jar latest 2021-05-12 18:35:18 +02:00

shrinksafe.jar requires js.jar (Rhino) in the same directory.

Usage:

java -jar shrinksafe.jar somescript.js > minifiedscript.js

There is a build-time version dependency between shrinksafe.jar and js.jar.
Shrinksafe must be built and used with a particular version of Rhino.  To build,
run build.sh in this directory.  Mozilla Rhino is licensed under MPL
1.1 (see LICENSE) and is available from http://www.mozilla.org/rhino.

shrinksafe.jar is known to work with these Rhino versions:
- 1.7R1

This version of ShrinkSafe will be incompatible with Rhino 1.7R3 and beyond
due to changes in the Rhino API.