Skip to content

TypeError: Cannot read property 'slice' of undefined #18

Open
@paulchill

Description

@paulchill

Hi Guys,

Getting this error when i run pureifycss for gulp
[15:18:33] 'css' errored after 32 s
[15:18:33] TypeError: Cannot read property 'slice' of undefined

Here is my gulp file:
gulp.task('css', function() {
gulp.src(config.app.css.src)
.pipe(purify(['/*.js', '/*.html']))
.pipe(minifyCss())
.pipe(concat('bundle.css'))
.pipe(gulp.dest(config.app.css.dist))
});

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions