Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

Commit

Permalink
Fix browserlist warining
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciabad committed Nov 17, 2019
1 parent 1654cc0 commit c8d94c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
last 1 version
> 1%
maintained node versions
not dead
5 changes: 1 addition & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ const babelify = require('babelify');

gulp.task('css', () =>
gulp.src('src/styles/main.css')
.pipe(autoprefixer({
browsers: ['> 1%', "last 2 versions", 'not dead'],
cascade: false
}))
.pipe(autoprefixer({cascade: false}))
.pipe(cleanCSS())
.pipe(rename((path) => {
path.basename = "main.min";
Expand Down

0 comments on commit c8d94c7

Please sign in to comment.