Mention how to download closure-compiler to build highlight.js
Change-Id: If3d6fd2ff4c3af927b1c7b677dee07b5b7293fae
This commit is contained in:
parent
02cf0926c2
commit
41ff059837
@ -61,10 +61,15 @@ repo under the name "highlight.pack.js".
|
||||
|
||||
## Minification
|
||||
|
||||
Minify the file using closure-compiler using the command below. (Modify
|
||||
`/path/to` with the path to your compiler jar.)
|
||||
Minify the file using closure-compiler using the command below.
|
||||
|
||||
$> java -jar /path/to/closure-compiler.jar \
|
||||
$> wget https://dl.google.com/closure-compiler/compiler-latest.zip
|
||||
|
||||
$> unzip compiler-latest.zip
|
||||
|
||||
$> mv closure-compiler-*.jar closure-compiler.jar
|
||||
|
||||
$> java -jar ./closure-compiler.jar \
|
||||
--js build/highlight.pack.js \
|
||||
--js_output_file build/highlight.min.js
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user