Menu icon Foundation
gulp-autoprefixer and gulp-sourcemaps

Hi,

I'm using the proposed gulp-autoprefixer in foundation6. Now apparantly gulp-autoprefixer does not play nice with gulp-sourcemaps. Is there a 'Zurb' way of getting a gulp task that compiles, autoprefixes the sass files AND create sourcemaps?

tnx

Sassgulp-autoprefixergulp-source-mapssourcemapsfoundation6

Hi,

I'm using the proposed gulp-autoprefixer in foundation6. Now apparantly gulp-autoprefixer does not play nice with gulp-sourcemaps. Is there a 'Zurb' way of getting a gulp task that compiles, autoprefixes the sass files AND create sourcemaps?

tnx

Geoff Kimball almost 4 years ago

gulp-autoprefixer is on the list of compatible plugins in the gulp-sourcemaps wiki, so it should work.

We're about to implement it in the main Foundation 6 codebase, and we'll make sure it's working properly in our starter templates as well. Here's the pull request that implements it, so you can see how it works.