mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 03:52:21 +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'));
|
|
};
|
|
};
|