Skip to content

Commit

Permalink
chore: use Autoprefixer with postcss instead of gulp-autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoden committed Oct 8, 2018
1 parent 65a1624 commit fac390a
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 67 deletions.
7 changes: 4 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var docs = require('./index');
var gulp = require('gulp');
var panini = require('panini');
var supercollider = require('supercollider');
var autoprefixer = require('autoprefixer');

// Supercollider configuration
supercollider
Expand Down Expand Up @@ -44,9 +45,9 @@ gulp.task('sass', function() {
'node_modules/motion-ui/src'
]
}).on('error', $.sass.logError))
.pipe($.autoprefixer({
browsers: ['last 2 versions', 'ie >= 9']
}))
.pipe($.postcss([
autoprefixer() // uses ".browserslistrc"
]))
.pipe(gulp.dest('test/visual/_build'))
.pipe(browser.reload({ stream: true }));
});
Expand Down
Loading

0 comments on commit fac390a

Please sign in to comment.