Questions tagged [gulp-autoprefixer]

Prefix CSS with vendor's prefixes

Gulp plugin wrapper over autoprefixer (PostCSS tool)

https://github.com/sindresorhus/gulp-autoprefixer https://www.npmjs.com/package/gulp-autoprefixer

25 questions
0
votes
1 answer

Windows is off when run gulp watch

Hi There I'm working on a project which I'm using Gulp . All was Okay before i used Autoprefixer Plugin and Watch Command . Now when I run gulp at the terminal. My windows 10 is off without any Error message . gulpfile.js code var gulp =…
Norhan
  • 105
  • 2
  • 16
0
votes
1 answer

Does the browserslist option in Gulp's Autoprefixer plugin define what browsers should be included or excluded?

Possibly the dumbest question I've asked but I'm finding the documentation and the limited examples quite hazy. I'd like to support as many browsers as possible, including IE7+ e.g. .pipe(autoprefixer({ browsers: ['last 5 versions', 'ie >=…
I am me
  • 131
  • 2
  • 12
0
votes
2 answers

gulp, browsersync, sass, autoprefixer isnt working

i am trying to get my gulp to work correct with Autoprefixer, sass and browser-sync but i have some issues. I set up the Gulpfile.js like this: var gulp = require('gulp'), plumber = require('gulp-plumber'), rename = require('gulp-rename'); var…
SanderS
  • 47
  • 10
0
votes
1 answer

how do I get gulp to watch both autoprefixer and minify?

my folder structure consists of a directory called "production" which houses style.css, the file that I'm writing in... I have another directory called "css" which is the destination for my autoprefixed style.css file. The watch task I have set up…
Todd
  • 3
  • 2
0
votes
1 answer

autoprefixer not prefixing @keyframes?

I just copied the sample at https://www.npmjs.com/package/gulp-autoprefixer after I installed gulp and gulp-autoprefixer: var gulp = require('gulp'); var autoprefixer = require('gulp-autoprefixer'); gulp.task('default', function () { return…
Jack Lu
  • 139
  • 2
  • 12
0
votes
1 answer

Gulp libsass/autoprefixer error on comments in sass file

I am switching from gulp-ruby-sass to gulp-sass. Gulp ruby sass was working without errors, but to make life easy on our Windows devs I am trying to remove the dependency on Ruby. I installed the packages at set up my gulp file like so: var…
Steve
  • 14,401
  • 35
  • 125
  • 230
0
votes
1 answer

Autoprefixer doing nothing with my css

Here is my gulpfile, I don't know whats wrong. Why is autoprefixer doing nothing? I suppose it's something wrong with dest. gulp.task('sass', function () { gulp.src('**/sass/*.scss') .pipe(plumber({errorHandler: onError})) …
0
votes
2 answers

gulp-autoprefixer not work

This is my first question. node version: v4.4.4 package.json "gulp": "^3.9.1", "gulp-autoprefixer": "^3.1.0", "gulp-rename": "^1.2.2", gulpfile.js gulp.task('auto', function () { log("Generate CSS files"); return gulp.src('dev/css/test.css') …
0
votes
1 answer

Autoprefixer won't add or remove prefixes

I have the following in my gulpfile, and CSS gets compiled, but prefixes are not added or removed. What am I doing wrong? // The task // -------- gulp.task('autoprefix', function () { var prefixr = autoprefixer({ browsers: ['last 2 versions',…
Spadar Shut
  • 15,111
  • 5
  • 47
  • 54
-1
votes
3 answers

gulp sass sourcemaps and autoprefixer not working

I am unable to get the autoprefixer working with gulp sass. Here is my gulpfile.js: 'use strict'; var gulp = require('gulp'); var sass = require('gulp-sass'); var sourcemaps = require('gulp-sourcemaps'); var autoprefixer =…
Peter
  • 10,492
  • 21
  • 82
  • 132
1
2