Roo-Code/apps/web-roo-code/src
Roo Code 63d8d63f48 fix(blog): avoid barrel import in client component to fix build
The blog-analytics.tsx client component was importing from the @/lib/blog
barrel export, which transitively included content.ts that uses the Node.js
fs module. This caused the build to fail with "Module not found: Cannot
resolve fs" error.

Changed imports to use direct file paths:
- Import BlogPost type from @/lib/blog/types
- Import analytics functions from @/lib/blog/analytics

This avoids pulling content.ts into the client bundle.
2026-01-28 01:02:50 +00:00
..
actions Move to Postgres for evals on roocode.com (#4520) 2025-06-11 14:17:53 -07:00
app Update apps/web-roo-code/src/app/sitemap.ts 2026-01-27 16:42:52 -08:00
components fix(blog): avoid barrel import in client component to fix build 2026-01-28 01:02:50 +00:00
lib feat(blog): add Blog link to nav/footer and Substack to Connect 2026-01-27 19:55:25 +00:00