Installing slugify

Hi, I’m trying to install slugify but i have an error in deploy.
I would aprecciate your help, thank you.

Error: filter not found: slugify


  "main": ".eleventy.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "eleventy",
    "start": "netlify dev"
  "license": "ISC",
  "devDependencies": {
    "@11ty/eleventy": "^0.11.0",
    "netlify-cli": "^5.2.3",
    "gulp": "^4.0.2",
    "gulp-concat": "^2.6.1",
    "gulp-sass": "^5.1.0",
    "gulp-uglify": "^3.0.2",
    "sass": "^1.52.1"
  "dependencies": {
    "slugify": "1.6.5",
    "netlify-cms-app": "^2.14.18",
    "react": "^16.14.0",
    "react-dom": "^16.14.0",
    "update-notifier": "^5.1.0"

hi there,

i dont know anything about slugify, but my first question would be if it really is a frontend dependency? I am wondering if it should be in the devDependencies section (if you need it during build - then thats where it should be listed)

Hey @joseoliveras

Eleventy has is a built-in slugify filter which doesn’t require the slugify package listed in the dependencies (though Eleventy does use it internally.)

Hi, thanks for your quick response.

I need sugify to create some data attributes from front matter data.
And yes, now I see that Eleventy use it internally. I only need to replace “slug” by “slugify”.

Thanks for help. :sweat_smile: