roninoss / rn-primitives

Style-agnostic, accessible React Native components for iOS, Android, and Web
https://rnprimitives.com
MIT License
427 stars 12 forks source link

fix: web analytics attempt 2 #13

Closed mrzachnugent closed 5 months ago

mrzachnugent commented 5 months ago

Description

Attempt #2 at getting the vercel web analytics to work.

How

By explicitly setting the "output" to "static" even though it is the default output.

Why

That is the only difference I noticed between the examples using static biuld with vercel's web analytics (example)

If this doesn't work

We can try a manual script in the head component: https://www.simonporter.co.uk/posts/adding-vercel-analytics-to-your-static-astro-site

Additonnal info

The astro docs say that you can use a static or serverless build for webAnalytics. And the vercel getting started guide show a serveless example but there is no reason for the docs to be serverless.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rn-primitives ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 7:27pm
mrzachnugent commented 5 months ago

Vercel seems to be having trouble right now: https://www.vercel-status.com/

This PR might not be needed