提交 9e229917 编写于 作者: A Andrea Frittoli 提交者: tekton-robot

Enable netlify-plugin-checklinks

Add the netlify-plugin-checklinks plugin to check for broken
links on deploy.
Signed-off-by: NAndrea Frittoli <andrea.frittoli@gmail.com>
上级 9da9204b
......@@ -23,3 +23,6 @@ content/en/docs/Triggers
content/en/docs/CLI
content/en/vault/
sync/.cache
# Local Netlify folder
.netlify
......@@ -15,7 +15,13 @@
[context.branch-deploy]
command = "make preview-build"
[dev]
command = "make serve URL=http://localhost:8888/"
[[plugins]]
package = "netlify-plugin-checklinks"
[dev]
command = "make serve URL=http://localhost:8888/"
\ No newline at end of file
[plugins.inputs]
todoPatterns = ["load", "fragment"]
checkExternal = false
followSourceMaps = true
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册