Closed tobiaslins closed 10 months ago
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
speed-insights-nextjs | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Sep 13, 2023 6:19am |
๐ What's in there?
Add a postinstall script that checks for analyticsId in
next.config.js
andVERCEL_ANALYTICS_ID
in .env files๐งช How to test?
Because we are in a monorepo you need to modify
package.json
frompackages/web
toThis is not needed when installed in node_modules without sym link.
Now set
analyticsId
or the environment variable, and runpnpm i
and see if the log is shown