cmark

My personal build of CMark ✏️

Commit
45e8e522713ae078f4758c9e1f64cfcab0b230d4
Parent
cab438daf78d49eac6381270b49e7f13778c472d
Author
John MacFarlane <fiddlosopher@gmail.com>
Date

Tweaked uglifyjs options.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 2 1 1
diff --git a/Makefile b/Makefile
@@ -131,7 +131,7 @@ js/dist/commonmark.js: js/lib/index.js ${JSMODULES}
 
 # 'npm install -g uglify-js' for the uglifyjs tool:
 js/dist/commonmark.min.js: js/dist/commonmark.js
-	uglifyjs $< --compress warnings --preamble "/* commonmark $(VERSION) https://github.com/jgm/CommonMark @license BSD3 */" > $@
+	uglifyjs $< --compress keep_fargs=true,pure_getters=true --preamble "/* commonmark $(VERSION) https://github.com/jgm/CommonMark @license BSD3 */" > $@
 
 testjs: $(SPEC)
 	node js/test.js