Skip to content

Instantly share code, notes, and snippets.

@gerritvanaaken
Created April 9, 2014 17:09
Show Gist options
  • Save gerritvanaaken/10292962 to your computer and use it in GitHub Desktop.
Save gerritvanaaken/10292962 to your computer and use it in GitHub Desktop.
SASS with Sourcemaps and Autoprefixer playing together
gulp.src('./css/*.scss')
.pipe(sass({ //ruby sass syntax!
style: 'compact',
sourcemap: true
}))
.pipe(prefix("ff >= 3.6", "ie >= 8", "Chrome >= 10", "iOS >= 5", "Android >= 2.3", "Safari >= 5"))
.pipe(gulp.dest('./css/'))
@gerritvanaaken
Copy link
Author

The key is "compact" mode. Thanks to @ddprrt !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment