mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-06-28 20:29:13 +00:00
feat: unlighthouse configuration and dependencies
This commit is contained in:
parent
5aa27c86a5
commit
ab161e0b91
5 changed files with 3034 additions and 10 deletions
23
unlighthouse.config.ts
Normal file
23
unlighthouse.config.ts
Normal file
|
@ -0,0 +1,23 @@
|
|||
import { defineConfig } from 'unlighthouse'
|
||||
|
||||
export default defineConfig ({
|
||||
site: process.env.SITE_URL || 'http://localhost:5173/',
|
||||
scanner: {
|
||||
samples: 1,
|
||||
throttle: true,
|
||||
},
|
||||
cookies: [
|
||||
{
|
||||
name: 'pb_auth',
|
||||
value: process.env.AUTH_COOKIE || '',
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
sameSite: 'Lax',
|
||||
}
|
||||
],
|
||||
ci: {
|
||||
reporter: 'jsonExpanded',
|
||||
buildStatic: true,
|
||||
budget: 65,
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue