summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2015-01-23 15:27:18 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2015-01-23 15:27:18 -0800
commit45e8e522713ae078f4758c9e1f64cfcab0b230d4 (patch)
treef4b9a886f71f8ded1ea3ceefecbebba5fa547e74 /Makefile
parentcab438daf78d49eac6381270b49e7f13778c472d (diff)
Tweaked uglifyjs options.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 43bf59d..f9e0625 100644
--- 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