From 072388a12f3b46b51196239f0b7fc32ec1ae14b1 Mon Sep 17 00:00:00 2001 From: Bob Gallagher Date: Mon, 13 Mar 2017 16:41:02 -0400 Subject: [PATCH] RIFT-15726 - improve load time by running minification on resulting js assets. This resulted roughly in a 70% reduction in file size. Change-Id: I562f4310ce638bfa994666f043f33fcbe78a471e Signed-off-by: Bob Gallagher --- skyquake/scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyquake/scripts/build.sh b/skyquake/scripts/build.sh index 044268d4c..9d9d63549 100755 --- a/skyquake/scripts/build.sh +++ b/skyquake/scripts/build.sh @@ -38,7 +38,7 @@ for f in *; do npm install echo 'Fetching third-party node_modules for '$f'...done' echo 'Packaging '$f' using webpack' - ./node_modules/.bin/webpack --progress --config webpack.production.config.js + ./node_modules/.bin/webpack --optimize-minimize --progress --config webpack.production.config.js echo 'Packaging '$f' using webpack... done' cd .. echo 'Building plugin '$f'... done' -- 2.25.1