gulpfile.js
function css(prefix) {
	var stream;
	if (prefix === 'bootstrap') {
		stream = gulp.src('src/clockpicker.css');
	} else {
		// Concat with some styles picked from bootstrap
		stream = gulp.src(['src/standalone.css', 'src/clockpicker.css'])
			.pipe(concat('clockpicker.css'));
	}
	stream.pipe(rename({
			prefix: prefix + '-'
		}))
		.pipe(replace(versionRegExp, version))
		.pipe(gulp.dest('dist'))
		.pipe(minifyCSS({
			keepSpecialComments: 1
		}))
		.pipe(rename({
			suffix: '.min'
		}))
		.pipe(gulp.dest('dist'));
}
function css(prefix) {
	var stream;
	if (prefix === 'bootstrap') {
		stream = gulp.src('src/clockpicker.css');
	} else {
		// Concat with some styles picked from bootstrap
		stream = gulp.src(['src/standalone.css', 'src/clockpicker.css'])
			.pipe(concat('clockpicker.css'));
	}
	stream.pipe(rename({
			prefix: prefix + '-'
		}))
		.pipe(replace(versionRegExp, version))
		.pipe(gulp.dest('dist'))
		.pipe(minifyCSS({
			keepSpecialComments: 1
		}))
		.pipe(rename({
			suffix: '.min'
		}))
		.pipe(gulp.dest('dist'));
}
function css ( prefix ) { var stream ; if ( prefix === 'bootstrap' ) { stream = gulp . src ( 'src/clockpicker.css' ) ; } else { // Concat with some styles picked from bootstrap stream = gulp . src ( [ 'src/standalone.css' , 'src/clockpicker.css' ] ) . pipe ( concat ( 'clockpicker.css' ) ) ; } stream . pipe ( rename ( { prefix : prefix + '-' } ) ) . pipe ( replace ( versionRegExp , version ) ) . pipe ( gulp . dest ( 'dist' ) ) . pipe ( minifyCSS ( { keepSpecialComments : 1 } ) ) . pipe ( rename ( { suffix : '.min' } ) ) . pipe ( gulp . dest ( 'dist' ) ) ; }
Rename, concat and minify stylesheets
Rename concat and minify stylesheets