From 9086c6e4f06a8b2833a5645787d471be13b3c997 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 18 Oct 2016 21:20:13 +0200 Subject: [PATCH] Add plugin to derequire browserifyed dist files. --- Gruntfile.js | 6 ++++-- package.json | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index caf4010a..b7349352 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -51,7 +51,8 @@ module.exports = function(grunt) { ignore: ['*.min.js'], presets: ["es2015"] }] - ] + ], + plugin: [ 'browserify-derequire' ] } }, openpgp_debug: { @@ -69,7 +70,8 @@ module.exports = function(grunt) { ignore: ['*.min.js'], presets: ["es2015"] }] - ] + ], + plugin: [ 'browserify-derequire' ] } }, worker: { diff --git a/package.json b/package.json index 34107717..2d013a39 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "asmcrypto-lite": "^1.0.0", "babel-preset-es2015": "^6.3.13", "babelify": "^7.2.0", + "browserify-derequire": "^0.9.4", "chai": "~3.5.0", "es6-promise": "^3.1.2", "grunt": "~0.4.5",