Skip to content

Commit

Permalink
Add Netlify Lighthouse (#262)
Browse files Browse the repository at this point in the history
Add
[netlify/netlify-plugin-lighthouse](https://github.com/netlify/netlify-plugin-lighthouse)
to the Netlify configuration file to build lighthouse scores for each
update.
  • Loading branch information
AdamJ authored Dec 1, 2023
1 parent 42b5ae9 commit 964fbf1
Show file tree
Hide file tree
Showing 5 changed files with 2,984 additions and 13 deletions.
10 changes: 5 additions & 5 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
<lastmod>2021-06-04T15:24:58.930Z</lastmod>
</url>

<url>
<loc>https://www.adamjolicoeur.com/404.html</loc>
<lastmod>2021-07-20T19:16:41.416Z</lastmod>
</url>

<url>
<loc>https://www.adamjolicoeur.com/alfred/workflows/</loc>
<lastmod>2023-07-30T17:28:05.677Z</lastmod>
Expand Down Expand Up @@ -96,4 +91,9 @@
<lastmod>2023-11-16T21:52:31.745Z</lastmod>
</url>

<url>
<loc>https://www.adamjolicoeur.com/404.html</loc>
<lastmod>2023-12-01T16:30:13.175Z</lastmod>
</url>

</urlset>
8 changes: 8 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@
from = "/feed/"
to = "/feed/feed.xml"
status = 200

[[plugins]]
package = "@netlify/plugin-lighthouse"

# optional, deploy the lighthouse report to a path under your site
[plugins.inputs.audits]
output_path = "reports/lighthouse.html"
url = "https://www.adamjolicoeur.com"
Loading

0 comments on commit 964fbf1

Please sign in to comment.