Skip to content

Add new syntax #113

@kartofelek007

Description

@kartofelek007

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions