Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new syntax #113

Closed
kartofelek007 opened this issue Jul 29, 2019 · 0 comments
Closed

Add new syntax #113

kartofelek007 opened this issue Jul 29, 2019 · 0 comments

Comments

@kartofelek007
Copy link

On page:
https://www.npmjs.com/package/gulp-autoprefixer
there is old syntax. Parameter "browsers" in depreaced and task syntax is for gulp 3.9.

On gulp 4.0 you must use syntax like that:

const css = function() {
     return gulp.src('src/app.css')
        .pipe(autoprefixer({
            cascade: false
        }))
        .pipe(gulp.dest('dist'));
}

According to browserlist instruction, parameter "browser" must be change to correct info:
https://github.com/browserslist/browserslist

This should be in instruction.

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

No branches or pull requests

2 participants