UNPKG

pomy

Version:

Based on the concept of a project object model (POM), POMY can manage a project's build, reporting and documentation from a central piece of information.

16 lines (14 loc) 351 B
'use strict'; var gulp = require('gulp'), // sequence = require('run-sequence'), devTasks = ['webpack:dev', 'sass', 'sites'], buildTasks = ['webpack:build', 'sass', 'sites']; if (global.isProduction) { gulp.task('build', buildTasks, function(cb) { // sequence(buildTasks, cb); cb(); }); } else { gulp.task('build', devTasks); }