Merge pull request #556 from alex-wright-net/master-autoprefixer

Add autoprefixer functionality - Thx @axlright !
This commit is contained in:
Holger 2018-02-22 11:50:55 +01:00 committed by GitHub
commit 964e0d20b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1437 additions and 470 deletions

File diff suppressed because it is too large Load Diff

4
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19,6 +19,7 @@ var del = require('del');
var cleanCSS = require('gulp-clean-css'); var cleanCSS = require('gulp-clean-css');
var gulpSequence = require('gulp-sequence'); var gulpSequence = require('gulp-sequence');
var replace = require('gulp-replace'); var replace = require('gulp-replace');
var autoprefixer = require('gulp-autoprefixer')
// Configuration file to keep your code DRY // Configuration file to keep your code DRY
var cfg = require('./gulpconfig.json'); var cfg = require('./gulpconfig.json');
@ -87,6 +88,7 @@ gulp.task('sass', function () {
} }
})) }))
.pipe(sass()) .pipe(sass())
.pipe(autoprefixer('last 2 versions'))
.pipe(gulp.dest(paths.css)) .pipe(gulp.dest(paths.css))
.pipe(rename('custom-editor-style.css')) .pipe(rename('custom-editor-style.css'))
return stream; return stream;

View File

@ -51,6 +51,7 @@
"merge2": "^1.2.1", "merge2": "^1.2.1",
"popper.js": "^1.13.0", "popper.js": "^1.13.0",
"run-sequence": "^2.2.1", "run-sequence": "^2.2.1",
"undescores-for-npm": "^1.0.0" "undescores-for-npm": "^1.0.0",
"gulp-autoprefixer": "^4.1.0"
} }
} }