Pre-process analytics data at build time

This commit is contained in:
Aman Varshney
2025-06-04 02:14:47 +05:30
parent b449e19e10
commit ba678139f5
4 changed files with 201 additions and 138 deletions

View File

@@ -3,11 +3,12 @@
"version": "0.0.0",
"private": true,
"scripts": {
"build": "next build",
"build": "bun scripts/generate-analytics.ts && next build",
"dev": "next dev --turbopack",
"start": "next start",
"check": "biome check --write .",
"postinstall": "fumadocs-mdx"
"postinstall": "fumadocs-mdx",
"generate-analytics": "bun scripts/generate-analytics.ts"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.14",