Make gulpfile aestheticaly more like gulpfile in ZURB template
This commit is contained in:
parent
dcc4a7bdd1
commit
0ecf7be4a3
1 changed files with 4 additions and 4 deletions
|
@ -23,10 +23,10 @@ const sassLint = require('gulp-sass-lint');
|
|||
// Load all Gulp plugins into one variable.
|
||||
const $ = plugins();
|
||||
|
||||
// Check for --production flag.
|
||||
// Check for --production flag
|
||||
const PRODUCTION = !!(yargs.argv.production);
|
||||
|
||||
// Load settings from config.yml.
|
||||
// Load settings from config.yml
|
||||
function loadConfig() {
|
||||
const unsafe = require('js-yaml-js-types').all;
|
||||
const schema = yaml.DEFAULT_SCHEMA.extend(unsafe);
|
||||
|
@ -48,7 +48,7 @@ gulp.task('default',
|
|||
);
|
||||
|
||||
// Delete the compiled js and css.
|
||||
// This happens every time a build starts.
|
||||
// This happens every time a build starts
|
||||
function clean(done) {
|
||||
rimraf(PATHS.dist, done);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue