easyappointments/tools/gulp/clean.js

21 lines
703 B
JavaScript

/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) 2013 - 2018, Alex Tselegidis
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3
* @link http://easyappointments.org
* @since v1.4.0
* ---------------------------------------------------------------------------- */
const del = require('del');
module.exports = (gulp, plugins) => {
return () => {
del.sync([
'src/assets/js/**/*.min.js',
'src/assets/css/**/*.min.css'
])
};
};