From 2a1d60a91f9cc4f4f062dea92cf9418e3b84c300 Mon Sep 17 00:00:00 2001 From: vvo Date: Mon, 15 Jun 2015 15:54:50 +0200 Subject: [PATCH] fix: YUI compressor fix using a modified `debug` module that has a modified `ms` module that is compatible with YUI compressor https://github.com/rauchg/ms.js/pull/40 fixes #113 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b53d2f847..103f32661 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "AlgoliaSearch API JavaScript client", "main": "index.js", "browser": { - "./index.js": "./src/browser/builds/algoliasearch.js" + "./index.js": "./src/browser/builds/algoliasearch.js", + "debug": "debug-ms-fix-yui-compressor" }, "scripts": { "build": "PACKAGE_VERSION=$(json -f src/version.json) ./scripts/build", @@ -52,6 +53,7 @@ "dependencies": { "agentkeepalive": "2.0.2", "debug": "2.2.0", + "debug-ms-fix-yui-compressor": "2.2.0-future-reserved-word-fix-ms", "envify": "3.4.0", "es6-promise": "2.1.1", "inherits": "2.0.1",