Skip to content

Commit

Permalink
Use 404 plugin (#3882)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Jan 20, 2025
1 parent 8f3410b commit 87adba0
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 2 deletions.
20 changes: 18 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[plugins.inputs]
# If it should show more verbose logs (optional, default = true)
debug = true
debug = false

[[plugins]]
# https://github.com/philhawksworth/netlify-plugin-minify-html#readme
Expand Down Expand Up @@ -47,4 +47,20 @@
providers = [
"google",
"yandex"
]
]

[[plugins]]
# https://github.com/eggnstone/netlify-plugin-no-more-404/blob/master/manifest.yaml
package = "@eggnstone/netlify-plugin-no-more-404"

# all inputs are optional, we just show you the defaults below
[plugins.inputs]

# either "warn" or "error"
failBuildOnError = true

# change this key to a new one any time you need to restart from scratch
cacheKey = "Jan202025"

# (for development) turn true for extra diagnostic logging
debug = true
34 changes: 34 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"homepage": "https://github.com/google/docsy-example#readme",
"devDependencies": {
"@eggnstone/netlify-plugin-no-more-404": "^1.5.0",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.31",
"postcss-cli": "^9.1.0",
Expand Down

0 comments on commit 87adba0

Please sign in to comment.