From 646205d41dec1068cb82e5b3d0576507813af251 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Wed, 4 Jun 2014 15:49:03 +0200 Subject: [PATCH] Wrapping mows to allow complex dependency tree in browserify. --- lib/webClient.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 lib/webClient.js diff --git a/lib/webClient.js b/lib/webClient.js new file mode 100644 index 0000000..e7a20fe --- /dev/null +++ b/lib/webClient.js @@ -0,0 +1,2 @@ + +module.exports = require("mows"); diff --git a/package.json b/package.json index f4acc90..4becf69 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "jshint-lib": "jshint lib", "jshint-test": "jshint test", "start": "./bin/mosca -v | bunyan", - "bundle": "browserify node_modules/mows/index.js -s mqtt > public/mqtt.js", + "bundle": "browserify lib/webClient.js -s mqtt > public/mqtt.js", "postinstall": "npm run bundle" }, "pre-commit": [