👷 Add Lighthouse configuration

This commit is contained in:
James Panther
2022-06-17 11:03:06 +10:00
parent f726d8eaa3
commit 814c7774bc
2 changed files with 17 additions and 1 deletions

15
lighthouserc.js Normal file
View File

@@ -0,0 +1,15 @@
module.exports = {
ci: {
collect: {
startServerCommand: "npm run example -- --disableLiveReload --minify",
startServerReadyPattern: "Web Server is available",
url: ["http://localhost:8008/lynx/"],
settings: {
skipAudits: ["uses-text-compression", "uses-long-cache-ttl"],
},
},
upload: {
target: "temporary-public-storage",
},
},
};