Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Minimizes app.bundle.js by default.

Boris Grozev5b1f7b1204e0
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 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=6"></script>
- <script src="libs/app.bundle.js?v=138"></script>
+ <script src="libs/app.bundle.min.js?v=138"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=7"/>
<link rel="stylesheet" href="css/toastr.css?v=1">
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": {