This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Sources: | |
# http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
# http://codex.wordpress.org/Output_Compression | |
# http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
# http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
# http://gtmetrix.com/configure-entity-tags-etags.html | |
# http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
# http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
# https://andreashecht-blog.de/4183/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let gulp = require('gulp'); | |
less = require('gulp-less'); //Подключаем less пакет | |
browserSync = require('browser-sync'); // Подключаем Browser Sync | |
concat = require('gulp-concat'); // Подключаем gulp-concat (для конкатенации файлов) | |
cssnano = require('gulp-cssnano'); // Подключаем пакет для минификации CSS | |
rename = require('gulp-rename'); // Подключаем библиотеку для переименования файлов | |
autoprefixer = require('gulp-autoprefixer');// Подключаем библиотеку для автоматического добавления префиксов | |
gulp.task('less', function(){ // Создаем таск "less" | |
return gulp.src('develop/less/main.less') // Берем источник |
NewerOlder