From edd51d6052e71822ce76b4e880e5941aa71dcdf2 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 4 Feb 2016 00:39:17 +0700 Subject: [PATCH] Ignore buffer node module in test bundle --- Gruntfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1d26c270..414e2e63 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -66,7 +66,7 @@ module.exports = function(grunt) { browserifyOptions: { standalone: 'openpgp' }, - external: [ 'crypto', 'node-localstorage', 'node-fetch', 'buffer' ] + external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch' ] } }, openpgp_debug: { @@ -78,7 +78,7 @@ module.exports = function(grunt) { debug: true, standalone: 'openpgp' }, - external: [ 'crypto', 'node-localstorage', 'node-fetch', 'buffer' ] + external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch' ] } }, worker: { @@ -96,7 +96,7 @@ module.exports = function(grunt) { 'test/lib/unittests-bundle.js': [ './test/unittests.js' ] }, options: { - external: [ 'crypto', 'node-localstorage', 'node-fetch', 'openpgp', '../../dist/openpgp', '../../../dist/openpgp' ] + external: [ 'crypto', 'buffer' , 'node-localstorage', 'node-fetch', 'openpgp', '../../dist/openpgp', '../../../dist/openpgp' ] } } },