From 4e3834083e9e9d8b1b6d28b776c6bbdd128f2152 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 26 Oct 2018 19:07:42 +0200 Subject: [PATCH] package: fix js bundle size (source map not correctly externalized) --- scripts/build-browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-browser.js b/scripts/build-browser.js index a1f79747..1c58eb7a 100644 --- a/scripts/build-browser.js +++ b/scripts/build-browser.js @@ -105,7 +105,7 @@ function bundle() { }) - if (!fast) output.pipe(exorcist(outputPath + '.map')) + if (!fast) output = output.pipe(exorcist(outputPath + '.map')) output.pipe(fs.createWriteStream(outputPath))