From c2743f7988ed68f4879acfc62750cede389239b4 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 8 Aug 2019 14:25:43 -0500 Subject: [PATCH] Improve build speed by skipping visualizer for now --- build_src.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/build_src.js b/build_src.js index 96860af0e..0575c2977 100644 --- a/build_src.js +++ b/build_src.js @@ -17,7 +17,7 @@ module.exports = function buildSrc() { // Start clean shell.rm('-f', [ - 'docs/statistics.html', + //'docs/statistics.html', 'dist/iD.js', 'dist/iD.js.map' ]); @@ -43,10 +43,11 @@ module.exports = function buildSrc() { }), commonjs(), json({ indent: '' }), - visualizer({ - filename: 'docs/statistics.html', - sourcemap: true - }) + // viz causes src build to take about 3x longer; skip + // visualizer({ + // filename: 'docs/statistics.html', + // sourcemap: true + // }) ] }) .then(function (bundle) {