feat: added vercel web vitals implementation

This commit is contained in:
Bart van der Braak 2023-07-29 19:07:32 +02:00
parent f84989021c
commit 5df4d20ee1
5 changed files with 112 additions and 9 deletions

View file

@ -5,5 +5,8 @@ export default defineConfig({
plugins: [sveltekit()],
ssr: {
noExternal: ['three']
},
define: {
'import.meta.env.VERCEL_ANALYTICS_ID': JSON.stringify(process.env.VERCEL_ANALYTICS_ID)
}
});