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

[Bug]: Error when running using gulp #1186

Open
1 task done
lilyama opened this issue Nov 15, 2023 · 0 comments
Open
1 task done

[Bug]: Error when running using gulp #1186

lilyama opened this issue Nov 15, 2023 · 0 comments
Labels

Comments

@lilyama
Copy link

lilyama commented Nov 15, 2023

Describe the bug

Hi, I'm having this kind of error below when trying this plugin

To Reproduce

gulp config

function compileSass() {
  return gulp
    .src(paths.styles.src)
    .pipe($.purgecss({
      content: ["./_src/**/*.html"]
    }))
    .pipe(gulp.dest(paths.styles.dest));
})

error message

gulp-notify: [Error running Gulp] <css input>:4:1: Unknown word

and CSS can't be compiled.

Expected Behavior

I wanna it to work.

Environment

  • Node: 14.16.0
  • npm: 6.14.11
  • gulp: 4.0.2
  • gulp-purgecss: 5.0.0

Add any other context about the problem here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@lilyama lilyama added the bug label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant