Just make the build steps sequential, build single target with buble

This commit is contained in:
Bryan Housel
2019-11-07 17:03:15 -05:00
parent 4a07ae7243
commit 5da962a694
5 changed files with 37 additions and 108 deletions
+2 -4
View File
@@ -5,9 +5,6 @@ const glob = require('glob');
let _currBuild = null;
// if called directly, do the thing.
buildCSS();
function buildCSS() {
if (_currBuild) return _currBuild;
@@ -20,7 +17,8 @@ function buildCSS() {
console.time(END);
return _currBuild =
doGlob('css/**/*.css')
Promise.resolve()
.then(() => doGlob('css/**/*.css'))
.then((files) => doConcat(files, 'dist/iD.css'))
.then(() => {
console.timeEnd(END);