gulp build --env development
gulp build --env production
var environments = require('gulp-environments');
var development = environments.development;
var production = environments.production;
.....
.pipe(production(uglify()))
jQuery(function($) {
$(window).scroll(function(){
if($(this).scrollTop()>185){
$('div.header-menu').addClass('fixed-on');
}
else if ($(this).scrollTop()<185){
$('div.header-menu').removeClass('fixed-on');
}
});
});