mart-w.de/static/fonts/lato-font-3.0.0/gulpfile.js

36 lines
655 B
JavaScript
Raw Normal View History

2024-04-03 03:44:07 +02:00
//--------------//
// DEPENDENCIES //
//--------------//
const gulp = require('gulp');
const gulpRequireTasks = require('gulp-require-tasks');
const del = require('del');
const runSequence = require('run-sequence');
//---------------//
// CONFIGURATION //
//---------------//
global.CSS_OUTPUT_PATH = './css';
global.SCSS_SOURCE_PATH = './scss';
global.MINIFICATION_SUFFIX = '.min';
//-------//
// TASKS //
//-------//
gulpRequireTasks();
gulp.task('default', function (callback) {
runSequence('clean', 'build', callback);
});
gulp.task('clean', function () {
return del([CSS_OUTPUT_PATH + '/*']);
});
gulp.task('build', ['styles:build']);