diff --git a/.gitignore b/.gitignore index f665b44eb8..ceb64692e8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ node_modules *.iml .*.tmp deploy-local.sh -libs/app.bundle.js +libs/app.bundle.* diff --git a/Makefile b/Makefile index 9ab630d36a..9f80ec70ea 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ GLOBAL_FLAGS = -x jquery -e OUTPUT_DIR = . DEPLOY_DIR = libs -all: compile deploy clean +all: compile deploy clean uglify compile:FLAGS = $(GLOBAL_FLAGS) compile: app diff --git a/index.html b/index.html index 13bf5e548d..cacd24920e 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ - + diff --git a/package.json b/package.json index feaf8bc767..e3c0a9e2db 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "socket.io-client": "1.3.6" }, "devDependencies": { - "precommit-hook": "3.0.0" + "precommit-hook": "3.0.0", + "uglify-js": "2.4.24" }, "license": "Apache-2.0", "scripts": {