Merge pull request #556 from alex-wright-net/master-autoprefixer
Add autoprefixer functionality - Thx @axlright !
This commit is contained in:
commit
964e0d20b3
1896
css/theme.css
1896
css/theme.css
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -19,6 +19,7 @@ var del = require('del');
|
|||
var cleanCSS = require('gulp-clean-css');
|
||||
var gulpSequence = require('gulp-sequence');
|
||||
var replace = require('gulp-replace');
|
||||
var autoprefixer = require('gulp-autoprefixer')
|
||||
|
||||
// Configuration file to keep your code DRY
|
||||
var cfg = require('./gulpconfig.json');
|
||||
|
@ -87,6 +88,7 @@ gulp.task('sass', function () {
|
|||
}
|
||||
}))
|
||||
.pipe(sass())
|
||||
.pipe(autoprefixer('last 2 versions'))
|
||||
.pipe(gulp.dest(paths.css))
|
||||
.pipe(rename('custom-editor-style.css'))
|
||||
return stream;
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
"merge2": "^1.2.1",
|
||||
"popper.js": "^1.13.0",
|
||||
"run-sequence": "^2.2.1",
|
||||
"undescores-for-npm": "^1.0.0"
|
||||
"undescores-for-npm": "^1.0.0",
|
||||
"gulp-autoprefixer": "^4.1.0"
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue