mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-23 07:03:26 +03:00
23 lines
869 B
JavaScript
23 lines
869 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
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
module.exports = (gulp, plugins) => {
|
|
return () => {
|
|
gulp.src([
|
|
'src/assets/css/**/*.css',
|
|
'!src/assets/css/**/*.min.css'
|
|
])
|
|
.pipe(plugins.changed('src/assets/css/**/*'))
|
|
.pipe(plugins.cleanCss())
|
|
.pipe(plugins.rename({suffix: '.min'}))
|
|
.pipe(gulp.dest('src/assets/css'));
|
|
};
|
|
};
|