From c037b9603753b0114c7cb815f10e917953abd936 Mon Sep 17 00:00:00 2001 From: Daniel Huigens Date: Mon, 5 Nov 2018 17:38:26 +0100 Subject: [PATCH] Babelify seek-bzip for compat build --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 79737952..149de9be 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -47,8 +47,8 @@ module.exports = function(grunt) { transform: [ ["babelify", { global: true, - // Only babelify web-stream-tools, asmcrypto and address-rfc2822 in node_modules - only: /^(?:.*\/node_modules\/web-stream-tools\/|.*\/node_modules\/asmcrypto\.js\/|.*\/node_modules\/address-rfc2822\/|(?!.*\/node_modules\/)).*$/, + // Only babelify web-stream-tools, asmcrypto, address-rfc2822 and seek-bzip in node_modules + only: /^(?:.*\/node_modules\/web-stream-tools\/|.*\/node_modules\/asmcrypto\.js\/|.*\/node_modules\/address-rfc2822\/|.*\/node_modules\/seek-bzip\/|(?!.*\/node_modules\/)).*$/, plugins: compat ? [ "transform-async-to-generator", "syntax-async-functions",