From 55487fd1e13ad2deb1c750174c2a3f09d1022cbd Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 29 Oct 2018 10:47:14 +0100 Subject: [PATCH] package: refix client bundle bize while keeping --watch error log --- scripts/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index 2fabd143..80de408b 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -35,8 +35,8 @@ module.exports = (opt) => { var output = b.bundle() - output.pipe(exorcist(outputPath + '.map')) - output.pipe(fs.createWriteStream(outputPath)) + var toWrite = output.pipe(exorcist(outputPath + '.map')) + toWrite.pipe(fs.createWriteStream(outputPath)) return output