You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/03/21 12:25:13 UTC

[cordova-docs] branch master updated: fixing cordova plugins page issue in make build (#807)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 95a7f7d  fixing cordova plugins page issue in make build (#807)
95a7f7d is described below

commit 95a7f7d4e2dce85200c723a0d6e7a5d4893fd45e
Author: Gandhirajan <ga...@gmail.com>
AuthorDate: Wed Mar 21 17:55:10 2018 +0530

    fixing cordova plugins page issue in make build (#807)
---
 Makefile     | 2 +-
 package.json | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 43e95a2..23a2fa9 100644
--- a/Makefile
+++ b/Makefile
@@ -238,7 +238,7 @@ $(FETCHED_FILES): $(FETCH_CONFIG) $(FETCH_SCRIPT)
 $(PLUGINS_APP): $(PLUGINS_SRC)
 	echo ---> $@
 	echo --->> $@
-	$(BROWSERIFY) -t reactify -t envify $< | $(UGLIFY) >> $@
+	$(BROWSERIFY) -t [ babelify --presets [ react ] --plugins [ transform-h-jsx ] ] -t envify $< | $(UGLIFY) >> $@
 
 $(DOCS_VERSION_DATA): $(BIN_DIR)/gen_versions.js $(DOCS_DIR)
 	$(NODE) $(BIN_DIR)/gen_versions.js $(DOCS_DIR) > $@
diff --git a/package.json b/package.json
index 33cdbee..82c662d 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,7 @@
     "preact-compat": "^3.17.0",
     "q": "^1.4.1",
     "shelljs": "^0.3.0",
-    "uglifyjs": "^2.4.10",
+    "uglify-js": "^3.3.15",
     "vinyl-buffer": "^1.0.0",
     "vinyl-source-stream": "^1.1.0",
     "walk": "^2.3.9",
@@ -58,6 +58,8 @@
   },
   "devDependencies": {
     "babel-plugin-transform-react-jsx": "^6.24.1",
+    "babel-plugin-transform-h-jsx": "^1.0.0",
+    "esutils": "^2.0.2",
     "babel-preset-react": "^6.24.1",
     "babelify": "^7.3.0",
     "colors": "^1.0.3",

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org