Make gulpfile aestheticaly more like gulpfile in ZURB template

This commit is contained in:
benjamin melançon 2024-04-26 16:28:05 -04:00
parent dcc4a7bdd1
commit 0ecf7be4a3

View file

@ -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);
}