From ee8a270a3650376f51f3e97c0a0317a2ad71ea33 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Fri, 10 Jun 2016 19:43:29 +0000 Subject: [PATCH 1/2] Don't run npm update, because it sometimes causes the lib-jitsi-meet npm link to be removed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1f190e065f..d3cb2122e6 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ LIBJITSIMEET_DIR = node_modules/lib-jitsi-meet/ all: update-deps compile uglify deploy clean update-deps: - $(NPM) update + $(NPM) install compile: $(BROWSERIFY) $(BROWSERIFY_FLAGS) -e app.js -s APP | $(EXORCIST) $(OUTPUT_DIR)/app.bundle.js.map > $(OUTPUT_DIR)/app.bundle.js From 62fd07e98ea4f95f2be295b18b64c4062bcddff7 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Fri, 10 Jun 2016 19:44:27 +0000 Subject: [PATCH 2/2] Copy the map files for the non-minified version to the deploy dir. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3cb2122e6..03eb0087da 100644 --- a/Makefile +++ b/Makefile @@ -27,13 +27,14 @@ deploy-init: deploy-appbundle: cp $(OUTPUT_DIR)/app.bundle.min.js $(OUTPUT_DIR)/app.bundle.min.map \ - $(OUTPUT_DIR)/app.bundle.js \ + $(OUTPUT_DIR)/app.bundle.js $(OUTPUT_DIR)/app.bundle.js.map \ $(DEPLOY_DIR) deploy-lib-jitsi-meet: cp $(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.js \ $(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.map \ $(LIBJITSIMEET_DIR)/lib-jitsi-meet.js \ + $(LIBJITSIMEET_DIR)/lib-jitsi-meet.js.map \ $(LIBJITSIMEET_DIR)/connection_optimization/external_connect.js \ $(DEPLOY_DIR) deploy-css: