9.0.0 • Published 6 months ago

gulp-autoprefixer v9.0.0

Weekly downloads
237,785
License
MIT
Repository
github
Last release
6 months ago

gulp-autoprefixer

Prefix CSS with Autoprefixer

Issues with the output should be reported on the Autoprefixer issue tracker.

Install

npm install --save-dev gulp-autoprefixer

Usage

import gulp from 'gulp';
import autoprefixer from 'gulp-autoprefixer';

export default () => (
	gulp.src('src/app.css')
		.pipe(autoprefixer({
			cascade: false
		}))
		.pipe(gulp.dest('dist'))
);

API

autoprefixer(options?)

options

Type: object

See the Autoprefixer options.

Source Maps

Use gulp-sourcemaps like this:

import gulp from 'gulp';
import sourcemaps from 'gulp-sourcemaps';
import concat from 'gulp-concat';
import autoprefixer from 'gulp-autoprefixer';

export default () => (
	gulp.src('src/**/*.css')
		.pipe(sourcemaps.init())
		.pipe(autoprefixer())
		.pipe(concat('all.css'))
		.pipe(sourcemaps.write('.'))
		.pipe(gulp.dest('dist'))
);

Tip

If you use other PostCSS based tools, like cssnano, you may want to run them together using gulp-postcss instead of gulp-autoprefixer. It will be faster, as the CSS is parsed only once for all PostCSS based tools, including Autoprefixer.

wp-build-sass@aymlab/mortarzfzn-uigulpproject-v1nlisgo-pattern-libraryvia-websitesngvcalendartooled@crivas/ute-uimy-gulpak-gulpsfcompiler.js@phparkle/semantic-uipraos-briefcaselavanta-elixirexpert-review-toolbedrock-shadowsbedrock-tabsbedrock-alertsbedrock-brandbedrock-buttonsbedrock-cardsbedrock-corebedrock-dropdownsbedrock-formsbedrock-frameworkbedrock-gridbedrock-layouts@siiron/sds-icons@siiron/sds-starter-kitdialer-reportstempaw-toolsjquery-file-explorer@mygooder/semantic@satche/workflowpicturesauctionjs-utils-libsdebox-web-coregrch-scriptsmathematical-calculatordas-buildisomorph-uitwentyoverten-themesgulp-task-runneralex-d.jsjoyerbti-less-compilerbti-refreshkarasufront-flow@weilluo/react-ssrdreadcast-operativegulp-pipelinenuxt-uipanqibaotools-packwisewe-framework-v4fomantic-ui-semeiafront-end-guidewebcoat@gabinrimbault/framework-frontend@infinitebrahmanuniverse/nolb-gulp-a@amerkiven/parisalinevicocssscss-boosterldl_devkitlaravel-elixir-gulp-v4-compatmoqitjane-xyz-elementfomantic-uisimplified-build@everything-registry/sub-chunk-1804templaticaguvcwa-wpstarter-enginecherry-sass@ibiz-template/cli-core@herospark/hero-themes-cli@hiq-malardalen/svhiq@hmagic/build@hametuha/novel@futhark/straws@goat-cli/styles@lernetz/gulp-stylus@kolibridev/gulp-tasks@lojaskd/gulp-tasks@ministryofjusticecz/frontend@nextlc/react-component@netzstrategen/gulp-task-collection@nicjohnson/eleventy-plugin-sass@kavehsajjadi/jackson@ladydinde/dindodev@kunoichi/gulp-assets-task-set@kamar.meddah/ngx-cool-dialogs-rxjs6@jysd/gulp-static-build@lform/lwind@gdkf/cli-theme@geit/styles@luqin/gram-sass@mcallistersean/liveblog-default-theme
9.0.0

6 months ago

8.0.0

3 years ago

7.0.1

5 years ago

7.0.0

5 years ago

6.1.0

5 years ago

6.0.0

6 years ago

5.0.0

6 years ago

4.1.0

6 years ago

4.0.0

7 years ago

3.1.1

8 years ago

3.1.0

9 years ago

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.3.1

9 years ago

2.3.0

9 years ago

2.2.0

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago