Improve build speed by skipping visualizer for now

This commit is contained in:
Quincy Morgan
2019-08-08 14:25:43 -05:00
parent 06c3ace58d
commit c2743f7988
+6 -5
View File
@@ -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) {