From 640390557580d9621a073332ff23eba75830dc52 Mon Sep 17 00:00:00 2001 From: Ahmed FEKHAR Date: Fri, 6 Aug 2021 17:02:18 +0200 Subject: [PATCH] now extensions could be used in an array when using browserify cli --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index e283712..a508840 100644 --- a/index.js +++ b/index.js @@ -109,6 +109,7 @@ function normalizeTransformOpts(opts) { if (opts.only && opts.only._) opts.only = opts.only._; if (opts.plugins && opts.plugins._) opts.plugins = opts.plugins._; if (opts.presets && opts.presets._) opts.presets = opts.presets._; + if (opts.extensions && opts.extensions._) opts.extensions = opts.extensions._; // browserify specific options delete opts._flags;