From 884e51d035744314d13b3f988d2698cae496940d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Fri, 20 Jul 2018 21:26:48 +0200 Subject: [PATCH] WIP --- runfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runfile.js b/runfile.js index 1c8920f..7e23f4b 100644 --- a/runfile.js +++ b/runfile.js @@ -171,7 +171,7 @@ async function build(dist = false) { */ async function optimize() { // TODO do not overwrite dev build - await exec("uglifyjs out/build.dist.js --source-map --output out/build.js"); + await exec("uglifyjs out/build.dist.js --source-map --ecma 6 --mangle --keep-classnames --compress --output out/build.js"); } /**