Skip to content

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

Defines the path to uglifyjs as a variable in the fashion of the path to browserify.

Lyubomir Marinov2740041a82b3
diff --git a/Makefile b/Makefile
index 7993ace9e3..f67b70ecb8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
-NPM = npm
BROWSERIFY = browserify
+DEPLOY_DIR = libs
GLOBAL_FLAGS = -x jquery -e
+NPM = npm
OUTPUT_DIR = .
-DEPLOY_DIR = libs
+UGLIFYJS = uglifyjs
all: compile deploy clean uglify
@@ -27,7 +28,7 @@ deploy:
([ ! -x deploy-local.sh ] || ./deploy-local.sh)
uglify:
- uglifyjs -p relative libs/app.bundle.js -o libs/app.bundle.min.js --source-map libs/app.bundle.js.map --source-map-url=app.bundle.js.map
+ $(UGLIFYJS) -p relative libs/app.bundle.js -o libs/app.bundle.min.js --source-map libs/app.bundle.js.map --source-map-url=app.bundle.js.map
source-package:
mkdir -p source_package/jitsi-meet && \