From 6fcba85109cfc41a421c98104c5bf1780e3de795 Mon Sep 17 00:00:00 2001 From: Drew Marsh Date: Mon, 11 Jan 2016 09:36:12 -0800 Subject: [PATCH] Changing to use shim based approach per feedback. Per much welcomed feedback from @guybedford on #709, I have changed from using `format: global` to instead using 'shim' on the browser specific files of the bluebird repo. This is so that it does not mess with the server side implementation which _is_ CommonJS format for Node. --- package-overrides/npm/bluebird@3.1.1.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package-overrides/npm/bluebird@3.1.1.json b/package-overrides/npm/bluebird@3.1.1.json index 6036029..43c0c76 100644 --- a/package-overrides/npm/bluebird@3.1.1.json +++ b/package-overrides/npm/bluebird@3.1.1.json @@ -1,3 +1,7 @@ { - "format": "global" + "shim": + { + "js/browser/bluebird": true, + "js/browser/bluebird.min": true + } } \ No newline at end of file